I am using Highcharts stock to plot a candlestick chart, how can I set the default x-axis tick amount to a specific number?
example
In the example Highstock plots all data at the beginning, I want to limit the initial x-axis tick size to 60, and drag the chart to see the rest data, what can I do?
Related
I want to have a stacked area chart with missing data points having x-axis as date time and y-axis as products quantity. How can I achieve this?
I have tried using line chart and area chart but it is not solving the purpose.
i wanted to ask how do i get google sheets charts to start at a certain value.
I have a chart that i only want to focus on the area between 150 and 160.
unfortunately the chart starts at 0 and takes up too much space of the chart
any advice would be appreciated
If you want format chart axis, you can do it in chart editor:
Select chart.
Click the three-dot button
Click Edit chart command.
Then go to Customize tab -> Vertical axis -> and enter min and max values
That's all.
I've a highchart which displays categories on x-axis and time on y-axis.This chart does not show complete range for a particular set of dates. I've created a fiddle for the same. jsfiddle.net/kshrrgvo
For the series with name "Remaining" bars are not complete. Moreover, the axis labels does not denote the full range.
I was trying candlestick chart using highchart ( highstock ) and find out that when I increase/decrease Navigator in candlestick chart the width of candlestick get changed. Sometime it display high, open, close and low for one hour interval whereas sometime it is displaying for month. I would like to grab these dynamically changed candlestick width ( not the pixel width but the real time interval) and display them in the chart title. Is there anyway I can get these information and update them dynamically in chart subtitle?
http://www.highcharts.com/stock/demo/candlestick
Thank You
What you are seeing are the effects of plotOptions.series.dataGrouping (API Reference) where the data is grouped and values are approximated to display the data faster. If you look at the example for units on the above linked page you'll find that you can determine and set what those groupings are. The grouping isn't truly dynamic, it's predefined.
I am trying to use the highstock graph. I want to update the xAxis labels according to the range which is selected from the rangeselector. eg. if it's a 1-year graph, i want the ticks to be at the end of each month with labels as Jan-12,Feb-12 etc.(by default it shows each month as the beginning of that month). And if it's a monthly graph i want the labels to be positioned at each friday ie. at an interval of 7 days.
Is there a way i can dynamically change which labels are displayed on the axis based on the extremes?
You can use tickPositioner (http://api.highcharts.com/highcharts#xAxis.tickPositioner) or formatter to change labels name http://api.highcharts.com/highcharts#xAxis.labels.formatter