看起来 C3.js 不再受支持?
我在插件上遇到问题,不确定是什么原因造成的(在它工作之前不确定是否有导致我出现问题的更新?)。
我还在 Git 上发布了一个问题https://github.com/c3js/c3/issues/2877
我们工作中包含的其他插件:
出现错误的示例代码:
c3.generate({
bindto: '#chart',
data: {
x: 'x',
columns: [
data['dates'],
data['impressions'],
data['clicks'],
data['ctr'],
data['positions']
]
},
axis: {
x: {
type: 'timeseries',
tick: {
format: '%Y-%m-%d'
}
}
},
tooltip: {
format: {
value: function (value, ratio, id) {
.....
}
}
}
});
下面突出显示的浏览器控制台错误: