You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lianglongbin 386245dbd4 初始化 4 months ago
..
build 初始化 4 months ago
deploy 初始化 4 months ago
dist 初始化 4 months ago
lib 初始化 4 months ago
src 初始化 4 months ago
.babelrc 初始化 4 months ago
CHANGELOG.md 初始化 4 months ago
LICENSE 初始化 4 months ago
README.md 初始化 4 months ago
README_EN.md 初始化 4 months ago
package.json 初始化 4 months ago

README_EN.md

中文

Charts

LICENSE LICENSE

What is Charts?

  • It is a lightweight chart library based on canvas.

Provides

  • line
  • bar
  • pie
  • radar
  • gauge

Install with npm

$ npm install @jiaminghi/charts

Use

import Charts from '@jiaminghi/charts'

const container = document.getElementById('container')

const myChart = new Charts(container)

myChart.setOption({
  title: 'My Chart',
  // ...otherConfig
})

Detailed documents and examples can be viewed on the HomePage.

Quick experience

<!--Resources are located on personal servers for experience and testing only, do not use in production environments-->
<!--Debug version-->
<script src="http://lib.jiaminghi.com/charts/charts.map.js"></script>
<!--Compression version-->
<script src="http://lib.jiaminghi.com/charts/charts.min.js"></script>
<script>
  const Charts = window.Charts.default
  // do something
</script>