I want to change "x" to "x" without creating a new instance of the zoom-type, I have to do it as if To greed, set the blank as a clone series after the high chars draw it blank. To Set Series Options And when you want to change the value of ZoomType, repeat the chart like this Work example myChart.options.chart.zoomType
var series clone = [{Name: 'Euro to USD', data: [1,2,3,4,4,5,6,7,7, 8,8,8,9,10,14]}
Var chart Option = {chart: {rendereTo: 'container', zoom type: 'XI'}, range selector: {Selected: 1}, series: [{Name: 'USD to EUR', data: [1,2,3, 4,4,5,6,7,7,8,8,8,9,10, 14]}]} var chart = new highchart. Stock chart (chart option);
chartOptions.chart.zoomType = 'y'; ChartOptions.series = seriesClone; Mychart = NewHightes Storkart (chart option);
No comments:
Post a Comment