@antv/g2-extension-plot
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

g2-extension-plot

The plot for @antv/g2 marks.

Getting Started

Install @antv/g2-extension-plot and @antv/g2 via package manager such NPM or Yarn.

$ npm install @antv/g2-extension-plot @antv/g2

Use mark individually:

import { Runtime, extend, corelib } from "@antv/g2";
import { plotlib } from "@antv/g2-extension-plot";

const Chart = extend(Runtime, { ...corelib(), ...plotlib() });

const chart = new Chart({ container: "container" });

  chart
    .sunburst()
    .data({
      type: 'fetch',
      value: 'https://gw.alipayobjects.com/os/antfincdn/ryp44nvUYZ/coffee.json',
    })
    .animate('enter', { type: 'waveIn' })
    .coordinate({ type: 'polar', innerRadius: 0 });

  chart.render();

License

MIT@AntV.

Readme

Keywords

none

Package Sidebar

Install

npm i @antv/g2-extension-plot

Weekly Downloads

12,740

Version

0.2.0

License

none

Unpacked Size

166 kB

Total Files

88

Last publish

Collaborators

  • lvisei
  • yisi.wang
  • basketduck
  • biupiubiupiu
  • flash1
  • dreammy23
  • laixingui.lxg
  • zhangjunjie-loki
  • rainy25ghz
  • zeyuwang
  • yanxiong
  • susiwen8
  • freestyle21
  • soundquiet
  • elaine.q.10
  • sturuby
  • sakuya223
  • serializedowen
  • xdzhao
  • yangzhanmei
  • wjgogogo
  • leungwensen
  • dori
  • iaaron
  • yard
  • simaq
  • dxq613
  • intchous
  • susan_ann
  • jinke.li
  • lzxue
  • army8735
  • atool
  • baizn
  • dengfuping
  • neoddish
  • jeffy2012
  • zqlu
  • afc163
  • pomelo-nwu
  • kopiluwaky
  • ccnuzindex
  • panyuqi
  • bubkoo
  • zengyue
  • kasmine
  • boyu.zlj
  • l1ud0ngq1
  • newbyvector
  • winniexing
  • chenluli
  • kn9117
  • xdddst
  • semious2020
  • esora
  • nadia_liu
  • bbsqq
  • mxz96102
  • openwayne
  • pearmini
  • pddpd
  • yiqianyao
  • zhanba
  • cxxxxxn
  • xcf(-_-)
  • siqishen
  • boyyangzai