mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-12-01 17:54:43 +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
|
||
}
|