Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

victory-canvas

Package Overview
Dependencies
Maintainers
17
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-canvas

HTML5 Canvas Components for Victory

  • 37.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
154K
decreased by-15.31%
Maintainers
17
Weekly downloads
 
Created
Source

#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:

<VictoryLine
  groupComponent={<CanvasGroup />}
  dataComponent={<CanvasCurve />}
  data={data}
/>
<VictoryBar
  groupComponent={<CanvasGroup />}
  dataComponent={<CanvasBar />}
  data={data}
/>
<VictoryScatter
  groupComponent={<CanvasGroup />}
  dataComponent={<CanvasPoint />}
  data={data}
/>

This package currently exports:

  • CanvasGroup
  • CanvasCurve
  • 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

Keywords

FAQs

Package last updated on 29 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc