我使用Extjs 4來創建折線圖。現在我想用虛線創建一個圖表系列。目前我的代碼看起來如下:Extjs Charting Series with dashed line
series: [{
type: 'line',
axis: 'left',
xField: 'name',
yField: 'data1',
style: {
fill: '#18428E',
stroke: '#18428E',
'stroke-width': 3
},
markerConfig: {
type: 'circle',
size: 4,
radius: 4,
'stroke-width': 0,
fill: '#18428E',
stroke: '#18428E'
}
}, ...
我試着將'border-style'設置爲'dashed',但這不起作用。 這可能在ExtJs製圖?
我在下面嘗試了兩個答案,但沒有工作,這個選項對我有用: 'style:{dashArray:[5,5]}' – bocanegra 2015-12-15 19:54:50