mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-30 11:24:45 +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
|
|||
|
}
|