Need help with charts?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

wineSu
217 Stars 6 Forks 38 Commits 0 Opened issues

Description

基于canvas实现的图表插件

Services available

!
?

Need anything else?

Contributors list

# 311,738
fiber
vdom
HTML
CSS
35 commits

charts

a lightweight canvas chart library -- for mobile

DOC & VIEW

charts 功能预览

Quickstart

$ git clone https://github.com/wineSu/charts.git
$ cd charts
$ npm i
$ npm run dev
$ npm run build

Usage

const lineChart = Charts({
    id:'can1',
    type:'line',
    data:[{
        xVal:'5-26',
        yVal:40
    },{
        xVal:'5-27',
        yVal:20
    },{
        xVal:'5-28',
        yVal:30
    },{
        xVal:'5-29',
        yVal:80
    },{
        xVal:'5-30',
        yVal:60
    },{
        xVal:'6-01',
        yVal:20
    }]
});

...

TODO

will create a tools like zrender

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.