2
我遇到的Zingchart一些奇怪的繪製。我正在試圖繪製一條平滑的曲線,如下圖所示的Excel曲線圖。Zingchart怪異加緊策劃
然而,使用上Zingchart相同的輸入數據時,一些怪異stepped chunks生產。這是一個Zingchart的問題還是我在配置中犯了一個錯誤?
var chartData = {
type: "line",
plot: {
aspect: "spline"
},
series: [ // Insert your series data here.
{
"values":[[0.008376349,-9.167595],
[0.008375615,59.43667],
[0.008374971,103.23595],
[0.008374511,-168.06818],
[0.008374427,-249.25804],
[0.008375174,125.39198],
[0.008376393,-355.0086],
[0.008377762,-130.61668],
[0.008379059,298.63593],
.....
[0.009247098,-15090.601],
[0.009836536,-4773.134]],
"text":"A/B"
}
]
};
zingchart.render({ // Render Method[3]
id: "chartDiv",
data: chartData,
height: 400,
width: '100%'
});