mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-11 09:37:29 +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
|
|||
|
}
|