LiteyukiBot-TriM/liteyuki/resources/templates/js/status.js
snowy 33dd2f104d fix: 状态卡片百分比错误
feat: 群聊Bot开关,防止Bot乱窜
2024-04-12 00:32:08 +08:00

10 lines
243 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const data = JSON.parse(document.getElementById('data').innerText);
function createPieChartOption(title, data){
// data为各项占比列表
}
function createBarChartOption(title, percent){
// percent为百分比最大值为100
}