We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当数据值为: let arr = [ { data: 879, name: '数据1', color: "#E4E4E6", format: function (val) { return '数据1' + (val * 100) + '%'; } }, { data: 616, name: '数据二', color: "#17BD9F", format: function (val) { return '数据二' + (val * 100) + '%'; } }, { data: 35, name: '数据三', color: "#FFDB05", format: function (val) { return '数据三' + (val * 100) + '%'; } }, { data: 39, name: '数据四', color: "#FF5F55", format: function (val) { return '数据四' + (val * 100) + '%'; } }, ]### ### //这个图渲染不出来 let chart2 = new wxCharts({ canvasId: 'wxChartCanvas2', type: 'ring', series: datasets, width: canvaswidth, height: 296, dataLabel: true, legend: true, disablePieStroke: true, title: { name: '总计' + sumcount, textAlign: 'center', color: '#000000', fontSize: 8, }, });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当数据值为:
let arr = [
{
data: 879,
name: '数据1',
color: "#E4E4E6",
format: function (val) {
return '数据1' + (val * 100) + '%';
}
},
{
data: 616,
name: '数据二',
color: "#17BD9F",
format: function (val) {
return '数据二' + (val * 100) + '%';
}
},
{
data: 35,
name: '数据三',
color: "#FFDB05",
format: function (val) {
return '数据三' + (val * 100) + '%';
}
},
{
data: 39,
name: '数据四',
color: "#FF5F55",
format: function (val) {
return '数据四' + (val * 100) + '%';
}
},
]### ###
//这个图渲染不出来
let chart2 = new wxCharts({
canvasId: 'wxChartCanvas2',
type: 'ring',
series: datasets,
width: canvaswidth,
height: 296,
dataLabel: true,
legend: true,
disablePieStroke: true,
title: {
name: '总计' + sumcount,
textAlign: 'center',
color: '#000000',
fontSize: 8,
},
});
The text was updated successfully, but these errors were encountered: