mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-09 05:39:06 +02:00
42 lines
528 B
JavaScript
42 lines
528 B
JavaScript
|
module.exports = {
|
||
|
config: {
|
||
|
type: 'polarArea',
|
||
|
data: {
|
||
|
labels: [0, 1, 2, 3, 4, 5],
|
||
|
datasets: [
|
||
|
{
|
||
|
// option in dataset
|
||
|
data: [0, 2, 4, null, 6, 8],
|
||
|
borderWidth: [
|
||
|
0,
|
||
|
1,
|
||
|
2,
|
||
|
3,
|
||
|
4,
|
||
|
5
|
||
|
]
|
||
|
},
|
||
|
]
|
||
|
},
|
||
|
options: {
|
||
|
legend: false,
|
||
|
title: false,
|
||
|
elements: {
|
||
|
arc: {
|
||
|
backgroundColor: 'transparent',
|
||
|
borderColor: '#888',
|
||
|
}
|
||
|
},
|
||
|
scale: {
|
||
|
display: false,
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
options: {
|
||
|
canvas: {
|
||
|
height: 256,
|
||
|
width: 512
|
||
|
}
|
||
|
}
|
||
|
};
|