项目作者: timonson

项目描述 :
Chart Web Component which takes any sync or async iterable as input
高级语言: JavaScript
项目地址: git://github.com/timonson/flowingChart.git
创建时间: 2019-09-01T18:03:17Z
项目社区:https://github.com/timonson/flowingChart

开源协议:MIT License

下载


flowingChart

Flowing Chart Web Component

Features

  • An independent Web Component
  • CSS Encapsulation with Shadow DOM
  • Takes sync or async iterators as data input
  • Uses the Canvas API
  • Stops, waits and continues automatically
  • Everything is customizable

Demo

Click

Quick Start

Serve the demo.html to your browser.

Api

  1. "width",
  2. "height",
  3. "iterator"
  4. "x-max",
  5. "y-max",
  6. "chart-color",
  7. "axis-color",
  8. "line-width",

Example

  1. <flowing-chart iterator="0327529439" x-max="10" y-max="10" chart-color="orange">
  2. </flowing-chart>