简体   繁体   English

绘图线隐藏在高图中的趋势后面,并且在加载非常大的数据集时,绘图线的移动变得非常困难

[英]Plot line is hiding behind trend in highcharts and movement of plotline is become very hindrance when loaded with very large data sets

Hi all I am using high stock to visualise my data. 大家好,我使用大量库存来可视化我的数据。 In that plot line is hiding behind the trend.is there is any way to show the plot line above the trend. 在该图线中隐藏在趋势的后面。是否有任何方法可以在趋势上方显示该图线。 and also movement of plot line become hindrance when the chart is loaded with large data sets. 当图表加载有大数据集时,绘图线的移动也会成为障碍。 在此处输入图片说明

I have attached image for reference. 我已附上图片以供参考。 Here plot line is hiding behind the trend. 在此情节线隐藏在趋势的后面。

You should use the zIndex option of plotLines to solve this problem. 您应该使用plotLines的zIndex选项来解决此问题。

yAxis: {
        plotLines: [{
                color: '#FF0000',
                width: 2,
                value: 80,
                zIndex: 5
        }]
}

You can see the live example in this jsFiddle . 您可以在此jsFiddle中看到实时示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM