我正经历着Zingchart的一些奇怪的情节。我正在尝试绘制一条平滑的曲线,如下面的Excel图表所示。

然而,当在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%'
});发布于 2017-02-23 02:12:02
感谢Zingchart support的出色响应时间,他们在答案上指导了我,似乎解决方案是更改绘图类型:
plot: {
aspect: "segmented"
},https://stackoverflow.com/questions/42304291
复制相似问题