0.1.1 • Published 1 year ago

anyplot v0.1.1

Weekly downloads
4
License
MIT
Repository
github
Last release
1 year ago

anyplot

Visual Web Components based on G2.

Build Status npm Version npm Download npm License

Usage

  • Import the Web Component library.
import 'anyplot';
  • Use the component AnyPlot with spec.
<any-plot style="height: 400px" spec=""></any-plot>

How to get the G2 spec? see G2 Spec API.

  • Use it by Combining multiple components. WIP
<chart style="height: 400px">
  <mark type="line" />
  <mark type="point" />
</chart>

Web Components

License

MIT@hustcc.