Skip to content

Latest commit

 

History

History
 
 

angular

@carbon/charts-angular

Carbon Charting Angular Wrappers

Storybook demos

Storybook demo sources

Getting started

Run the following command using npm:

npm install -S @carbon/charts @carbon/charts-angular d3

If you prefer Yarn, use the following command instead:

yarn add @carbon/charts @carbon/charts-angular d3

Step-by-step instructions

Read on carbondesignsystem.com

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 a donut chart you're able to pass in an additional field called center in your options configuring the donut center.

For instructions on using the tabular data format, see here

There are also additional options available depending on the chart type being used, see our demo examples here.

Customizable options (specific to chart type) can be found here