Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

charts

> 编程语言
Open source

基于canvas实现的图表插件

199 stars0 likes2 views
WebsiteGitHub

About

charts

a lightweight canvas chart library -- for mobile

DOC & VIEW

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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言