我需要創建紅色和綠色區域連同系列。 http://esbolsa.com/blog/wp-content/uploads/2012/12/Commodity-Channel-Index-Fortaleza.png我如何創建與highcharts閾值圖
我正在使用下面的代碼,它適用於顯示紅色(低於-100)。如何指定另一個閾值(+100)?
chart.addSeries({
name: name + "_series",
id: name + "_series",
type: 'area',
data: cciData,
yAxis: name + '_axis',
showInLegend: false,
color: '#2f7ed8',
negativeColor:'red',
threshold:-100
},false);
不..這種方法不顯示中間線 – user3038576
你是什麼意思「中間線」? – wergeld
線在100和-100之間。這應該是隻是線.. – user3038576