Please enable Javascript to view the contents

图表

 ·  ☕ 1 分钟
    🏷️
{
    "type": "bar",
    "data": 
       {
        "labels": ["吃", "喝", "拉"],
        "datasets": [{
            "label": "使用频率",
            "data": [222, 333, 444],
            "backgroundColor":"transparent",
             "borderColor":"#44ccff"
        }]
    }
}
    {
    "type": "line",
        "data": {
            "labels": ["One", "Two", "Three", "Four", "Five", "Six"],
            "datasets": [
            {
                "label": "# of Votes",
                "data": [12, 19, 3, 5, 2, 3],
                "backgroundColor":"transparent",
                "borderColor":"orange"
            },
            {
                "label": "Some other set",
                "data": [15, 8, 13, 5, 5, 9],
                "backgroundColor":"transparent",
                "borderColor":"#44ccff"
            }
            ]
        }
    }