design-infraGitHub
Report a problem or share feedback← Catalog

AntV G2 · Line marks

curatedfree

antv-g2/line

Track an ordered series.

$pnpm add @antv/g2

npm deps: @antv/g2

Our notes

Integration recipe: the command installs the library, not a standalone finished component. Adapt the linked upstream API/example to your data and brand. Keep the visualization grammar explicit and dispose the chart on unmount. Pin a compatible major when adapting older examples; do not treat G2 and the G6 graph engine as interchangeable. Upstream: https://github.com/antvis/g2. License: MIT. Package metadata: @antv/g2@5.4.8. Runtime integration is not verified by this metadata sync.
Source
AntV G2
Kind
component
Categories
chart
Use as
recipe — technique you apply to your own markup
Applies to
chart
Motion
not tagged (static or unknown)
Tags
data-visualization, visualization-reference, canvas, svg, integration-recipe, line
Licence
MIT; retain the upstream license and notices. Hosted commercial products/examples are separate.
Live demo
g2.antv.antgroup.com
Docs
g2.antv.antgroup.com