@ibm-sterling/charts-react

0.23.2 • Public • Published

@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.

/@ibm-sterling/charts-react/

    Package Sidebar

    Install

    npm i @ibm-sterling/charts-react

    Weekly Downloads

    0

    Version

    0.23.2

    License

    Apache-2.0

    Unpacked Size

    31.6 kB

    Total Files

    12

    Last publish

    Collaborators

    • calsmith
    • sterlingbot
    • theiliad