HTML5 Canvas Components for Victory
npm install victory-canvas#VictoryCanvas
This is an experimental set of primitive components that can be used in place of the default Victory primitives to render data to a Canvas container rather than SVG.
The current version of this package includes components for line, bar, and scatter charts.
Example usage:
``jsx`
dataComponent={
data={data}
/>
`jsx`
dataComponent={
data={data}
/>
`jsx`
dataComponent={
data={data}
/>
This package currently exports:
- CanvasGroupCanvasCurve
- CanvasPoint
- CanvasBar`
-
Please visit our documentation site to read more about these components
https://commerce.nearform.com/open-source/victory
To suggest an addition or correction to this documentation please see https://github.com/FormidableLabs/victory/blob/main/docs/src/content/docs