Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在不颠倒系列顺序的情况下将系列放在 Highcharts 的前面?
在我的代码中,我使用过:
$('#graf-1').highcharts({ chart: { zoomType: 'xy' },
Highcharts 有一个zIndex属性。
series: [{ name: eixoz, color: '#4572A7', type: 'line', yAxis: 1, data: dataz, tooltip: { valueSuffix: ' %' }, zIndex: 2 }, { name: eixoy, color: '#89A54E', type: 'column', data: datay, tooltip: { valueSuffix: ' €' }, zIndex: 1 }]
看到这个小提琴。