[英]How can I fix the navigator issue in highstock when I have more than 1 series in different time intervals?
我有以下问题,如果我的第一个意甲从2012年7月至2012年11月开始,而我的第二个意甲从2013年7月至2013年9月开始,则导航器仅使用第一个意向,并且看起来像丢失数据一样奇怪,所以我该如何对导航器说什么使用了既包含系列又包含第一个谢谢的完整间隔
you can use chart.addSeries() 您可以使用chart.addSeries()
chart.addSeries({
name : "",
xAxis: 0,
yAxis: 1,
type: "line",
enableMouseTracking: false,
data : your set of data to be shown in navigator,
showInLegend:false
})
this will add a series to navigator. 这将为导航器添加一个系列。
You can also prepare separated serie (concate both series data) during preprocessing, which will be used by navigator. 您还可以在预处理期间准备分离的序列(同时连接两个系列数据),导航器将使用它们。
http://api.highcharts.com/highstock#navigator.series http://api.highcharts.com/highstock#navigator.series
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.