Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@ibm-sterling/charts-react

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ibm-sterling/charts-react

Sterling charting components for React

latest
Source
npmnpm
Version
0.23.2
Version published
Maintainers
3
Created
Source

@ibm-sterling/charts-react

Sterling Charting React Wrappers

Storybook Demos Storybook Demo Sources

Getting Started

Run the following command using npm:

npm install -S @ibm-sterling/charts @ibm-sterling/charts-react d3

If you prefer Yarn, use the following command instead:

yarn add @ibm-sterling/charts @ibm-sterling/charts-react d3

Sample Project

Edit Sterling Charts - React

Charting Data & Options

Although we will definitely introduce new models in the future as we start shipping new components such as maps, Data and options follow the same model in all charts, with minor exceptions and differences in specific components, .

For instance, in the case of pie and donut charts, you would only provide one data set. In the case of donut charts, you can pass in an additional field called center in your options configuring the donut center.

There are also additional options available depending on the chart type being used, for more examples please see here.

Keywords

sterling

FAQs

Package last updated on 27 Nov 2019

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