Extend stock chart date - anychart

Is it possible to extend the stock chart beyond the date of data being passed in?
For example, at 9:30am, I'd like to show the data that I have, but have the time range of the chart extend out to 4pm and show no data.
(Almost like a live view as the stock is being generated.)
I have tried adjusting the ranges, but it seems the chart just adapts to the data I have. Any help would be appreciated!

Currently, we can offer you the workaround: the additional null points will create the necessary empty space.

Related

google-data-studio grouping most values of dimensions into others category

I am using Data-Studio to generate charts. I am generating charts for compute instances based on their CPU usage,in time-series. When I generate a chart(a line chart) a few instances are represented as lines in the chart, which have specific CPU usage values, but the majority of instances get accumulated into a category called "others" and therefore I am unable to show the metrics for others and the chart is not very useful.
Is there any way this category others can be avoided in data studio? so that all the instances are represented by a line or a bar?
I am new to Data-Studio. Kindly help. Thanks
There are a couple of ways to display the chart Without the Others series:
1) Time Series Chart
If you are using Date in the X-Axis (Dimension) then I'd suggest a Time Series chart as it's designed for Dates, and automatically sorts by Date as well as allowing for Date Range comparison (it also don't display the Others series, and series can be displayed as a line or bar).
2) Line Chart
Regarding the initial question (Line Chart) - Tested this out in a number of different Reports and Data Sources to confirm, and it seems to do the trick:
Create a Time Series chart;
Change the Chart Type to a Line chart;
Sort by Date in Ascending order.
Google Data Studio Report and a GIF to elaborate:

How to create a chart that shows timeline against months in Qlikview?

I need a quick help my requirements are a bit complex. I need to show multiple timelines against months accordingly. Such that on the left side i have all the Products and in the chart i want to show Dates on a time line and bottom line represents months.
So i need to display multiple time lines against all those products according to months i am attaching an image of requirements.
I just need to know whether this kind of report is possible in QlikView.
We are already using QlikView for our project and have developed many reports but not kind of this report.
Please provide your input whether this kind of report is possible in QlikView and if you can provide an example and some explanation of controls that would be helpful.
Thanks
I found this helpful when i made a similar type of project chart.
Here is an example .qvw also
To be able to create this chart, you need some type of event in the data model, where each event has a start date (or time) and possibly also an end date. Further, an event should belong to some grouping, typically a project or a phase in time.
Given the above, we can now start making the graph:
Create a bar chart with the appropriate event grouping as dimension (e.g., project, phase, or other group of events)
Add the duration of the project as expression: Max(EndDate)-Min(StartDate). If you only have one date per event, you just replace both StartDate and EndDate with the date that you have. The duration will then be the time between the first event and the last.
Add the start of the project as an offset to the bars: Min(StartDate). [Chart Properties-Expressions-The plus sign to the left of the Expression-Bar Offset]
Set the graph orientation to horizontal bars. [Chart Properties-Style-Orientation]
Remove the “Force 0” option. This option will force the start of the time axis to be Dec 30th 1899. [ChartProperties-Axes-Expression Axes-Force 0]
Format the expression axis labels as dates or as months (e.g. M/D/YY or YYYY MMM). [Chart Properties-Number-Date]
Now you should have a Gantt chart. If you want to improve the way it looks, you may want to consider the following suggestions:
Add a grid. [Chart Properties-Axes-Expression Axes-Show grid]
If you want a label on each bar, add a second expression defining the text for the label and use this as “Value on Data Points.” [Chart Properties-Expressions-Display Options] Don’t forget to disable the “Bar” option for this expression. This is the first check box in the Display Options group.
If the chart shows a range which is too large, add static min and static max to define the display range of the expression, e.g. Min(StartDate)-5 and Max(EndDate)+40, respectively. The additional distance on the upper limit is to leave space for the text. The unit is number of days. [Chart Properties-Axes-Scale]
If you have a second dimension, you can add this too. But if you do, make sure you use the “Grouped” option and not “Stacked.” The latter does not work well with bar offsets. [Chart Properties-Style-Subtype]
You may want to use the same color within each value of the first dimension, e.g., one color per project. One good way to define the color (e.g. RGB values) is to do it already in the dimension table in the script and use this color in a color function in the bar background color, e.g. RGB (ProjR,ProjG,ProjB). [Chart Properties-Expressions-The plus sign to the left of the Expression-Background Color]

UltraMonthViewSingle appointments overlaps after increasing it's height

Its about appointments' height in Infragistic's UltraMonthViewSingle control. In my code, it overlaps appointment in single day after increasing height of it using CreationFilter. So for more, can you look into this link please.
[http://www.infragistics.com/community/forums/p/86148/429648.aspx#429648][1]
Thanks a lot.
An appointments on UltraMonthViewSingle overlaps each other since i
have increased the height. Can you modify this creation filter in
order to remove unnecessary overlapping of appointment or Can you
write another one which can work for me?
The mentioned behavior is expected, because when you increate the height of your first appointment, you didn`t change the Y location of your second appointment. In your scenario you should modify your code (for example Rectangle(editor.Rect.X, editor.Rect.Y, editor.Rect.Width, 35) ) and add additional value to Rect.Y depending of number of your current appointment per day
I want to have non-bold text on every appointment in UltraDayView for
both Day view and Work Week View. Is it possible?
There are different approaches to solve this task. Maybe the easiest way could be if you are using AppStyle with desired look and feel. Another possible approach could be if you change VliewStyle of your UltraCalendarLook. The third option could be if you implement DrawFilter.
Let me know if you have any questions.

Initialize JFreeChart range axis values

I am trying to load dataset during initialization of the JFreeChart. But every time I tried to create a dataset with higher "number of item per series", the more data (all data) displayed visible in the chart (the bigger the dataset, the smaller the graph). But actually what I wanted is to have the fixed range of dataset values displayed on the chart while the rest is still hidden. Just the same way the data would normally be displayed in the actual trading platform, let's say Metatrader (MT4). First time when I open the chart I can see the screen filled with the only visible dataset of the chart and if I left-scroll the chart I will be able to see the old/history dataset as well. Does anyone have idea how to achieve this using JFreechart?
Really appreciate for any help or any thing/articles I can refer. Thanks so much!
You can use setRange() on either the domain or range axis, as shown in this fragment. If you've already tried this, it may help to edit your question to include an sscce and/or image that exhibits any problems you encountered.

extjs - how to define jsonstore for dynamic series in charts?

I want to add in series dynamically into my chart. For instance, I have a grid of unknown number of products. When clicked on the particular row, the sales statistics of that product is added to the chart. Therefore, there may be multiple lines on chart.
The question is, how do I define the fields of the jsonstore for the yfield of the series which I do not know beforehand?
I stumbled across the same problem.
I searched the official forum for a bit, and this seems to be the official way:
You define an new store with all the fields, and then you use the bindstore method:
http://docs.sencha.com/ext-js/4-0/#!/api/Ext.chart.Chart-method-bindStore
Don't forget to define the appropriate series (setSeries-method) and then reload to store to redraw the chart.
if you still looking for the answer, you can go to this link
Dynamically generate axis and series in Extjs 4 I answered about it

Resources