frappe图表插件显示效果

代码语言:html

所属分类:图表

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">


</head>
<body translate="no">
    <script type="text/javascript" src="http://repo.bfw.wiki/bfwrepo/js/frappe-charts.min.iife.js"></script>
    <div id="chart"></div>

    <script>
        const data = {
            labels: ["2 Feb",
                "3 Feb",
                "4 Feb",
                "5 Feb*",
                "6 Feb",
                "7 Feb",
                "8 Feb",
                "9 Feb*",
                "10 Feb*",
                "11 Feb",
                "12 Feb",
                "13 Feb",
                "14 Feb*",
                "15 Feb",
                "16 Feb",
                "17 Feb*",
                "18 Feb*",
                "19 Feb"],
            datasets: [{
                name: "qu.........完整代码请登录后点击上方下载按钮下载查看

网友评论0