I want to get navigator handlers value in my highstock tooltip formatter.
I can get the min and max of my xAxis in tooltip(my navigator min date and max date).
Please help me...
Thanks
You can get extremes in formatter this way:
this.points[0].series.xAxis.getExtremes();
Example: http://jsfiddle.net/E83Ef/
Related
Is it possible to set min/max yAxis parameters for this stockchart?
https://www.highcharts.com/stock/demo/candlestick-and-volume
Here fiddle for this example:
example
http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/stock/demo/candlestick-and-volume/
I tried, but it not works.
i have a problem with minRange
My chart is "time series, zoomable" type (i enabled also scrollbar for x-axis).
I would like to have minRange weekly when i zoom the chart, but doesn't work...
`http://jsfiddle.net/rax26mvb/`
why ?
thanks!
The minRange define maximum zoom level, when you zoom by selection. In your case you need to also define min/max values on xAxis.
I have a Highstock chart with type scatter. When I use the range selector some of the series disappear cause the have no data in the current range. How can I prevent the chart from scaling to only the existing data an keep the yaxis in the initial state?
I can see only two options:
set fixed min and max for yAxis
in afterSetExtremes call yAxis[0].setExtremes(min, max) in setTimeout function, but you need to calculate min and max on your own.
Is there any option to select coordinates(ie min and max) values by selection without zoom in Highchart.
Thanks.
Try this out: http://jsfiddle.net/8LBFp/
I'm using a highstock chart similar to this example - http://jsfiddle.net/93HQn/2/. What I"m trying to add is for the % value in the tooltip to be red if it is a negative value or green if it is positive value. Has anyone done this before?
Thanks,
Linda
You can change the color of any potion of the tooltip based on a value or calculation. I modified your jsfiddle to show how to change the color of the percentage based on if it is positive or negative.
Define a formatter function for your tooltips:
http://api.highcharts.com/highcharts#tooltip.formatter
With that you should be able to take full control of the tooltip contents.