I want to place highstock flags on the top of the chart. Is it possible?
Related
I'm using Highstock to do some chart rendering.
I need to use the 'reserveSpace' option for yAxis labels (I need to set the option to true).
The problem is: reserveSpace option is present in the Highcharts API (see link https://api.highcharts.com/highcharts/yAxis.labels.reserveSpace), but is missing in the Highstock API (see link https://api.highcharts.com/highstock/yAxis.labels)
From Highchart site, the difference between Highcharts and Highstock is "Highstock is based on Highcharts, meaning it has all the core functionality of Highcharts, plus some additional features." (see https://www.highcharts.com/docs/chart-concepts/understanding-highstock)
So why the reserveSpace option is missing in Highstock?
Do you know if there is a way to integrate in Highstock the same reserveSpace behaviour already present in Highcharts?
Thank you
In My Code there is requirement when user click on a Bar of a series the CheckBox Style of the Series should be changed to none.But when i do that my Chart Width is increasing. IS there any way we can keep the chart width fix irrespective of legend table width.
Thanks
Akshay
This Can be done
GetLegend().SetResizeChart(false);
GetLegend().SetCustomPosition(true);
GetLegend().SetPositionUnits(muPercent);
GetLegend().SetLeftPercent(83);
GetLegend().SetTopPercent(10);
Set your legend Alignment in bottom for Avoiding width increment of chart as below.
Chart.GetLegend().SetAlignment(laBottom);
if you want custom position of legend (Right side of chart)then you can do as below.
m_Chart1.GetLegend().SetCustomPosition(TRUE);
m_Chart1.GetLegend().SetPositionUnits(muPercent);
m_Chart1.GetLegend().SetTopPercent(20);
long leftmargin = 80.0;
m_Chart1.GetLegend().SetLeftPercent(leftmargin );
m_Chart1.GetPanel().SetMarginRight(100-leftmargin+1);//for avoiding overlapping of legend and chart
Also you can finetune your legend and chart by modifying above value
In Highstock you have the navigator at the bottom which lets you zoom in and out of the chart.
But, is it also possible to click on the chart itself, drag to highlight a certain portion of the chart and zoom into that area?
I've seen this feature in some of the other charting tools.
Set chart.zoomType, see: http://jsfiddle.net/MKeWv/ - docs.
I would like to ask about chart combination in Highcharts.
Is there any possible combine the multiple axis chart which is located in Highcharts with the Highstock scroll bar features ?
thank you for reply.
You can use highstock.js with combine with Highcharts. Then scrollbar will be avaiable. Please take look at example:
http://jsfiddle.net/anm6z/1/
I don't know about scroll bar but there is a example called master-detail check it out once. it may be helpful to you
highcharts legend overlapping with the name section of the series.
I have got an url : Issue example.
I want to place the legend text bellow the chart.
Please help.
You need to disable floating parameter or use y parameter (http://api.highcharts.com/highcharts#legend.y) to modify position.