简体   繁体   中英

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.

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

You can see the live example in this jsFiddle .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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