Socket
Socket
Sign inDemoInstall

@jiaminghi/charts

Package Overview
Dependencies
6
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @jiaminghi/charts

Lightweight charting


Version published
Weekly downloads
3.5K
increased by1.39%
Maintainers
2
Install size
3.06 MB
Created
Weekly downloads
 

Readme

Source

ENGLISH

Charts

LICENSE LICENSE

Charts是干什么的?

  • 它是一个基于canvas轻量图表库.

支持

  • 折线图
  • 柱状图
  • 饼状图
  • 雷达图
  • 仪表盘

npm安装

$ npm install @jiaminghi/charts

使用

import Charts from '@jiaminghi/charts'

const container = document.getElementById('container')

const myChart = new Charts(container)

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

详细文档及示例请移步HomePage.

快速体验

<!--资源位于个人服务器仅供体验和测试,请勿在生产环境使用-->
<!--调试版-->
<script src="http://lib.jiaminghi.com/charts/charts.map.js"></script>
<!--压缩版-->
<script src="http://lib.jiaminghi.com/charts/charts.min.js"></script>
<script>
  const Charts = window.Charts.default
  // do something
</script>

Keywords

FAQs

Last updated on 30 Oct 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc