anyplot
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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.

Package Sidebar

Install

npm i anyplot

Weekly Downloads

4

Version

0.1.1

License

MIT

Unpacked Size

979 kB

Total Files

60

Last publish

Collaborators

  • atool