mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 20:27:23 +08:00
10 lines
243 B
JavaScript
10 lines
243 B
JavaScript
const data = JSON.parse(document.getElementById('data').innerText);
|
||
|
||
function createPieChartOption(title, data){
|
||
// data为各项占比列表
|
||
}
|
||
|
||
function createBarChartOption(title, percent){
|
||
// percent为百分比,最大值为100
|
||
}
|