Package Exports
- @carbon/charts-angular
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@carbon/charts-angular) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@carbon/charts-angular
Carbon Charting Angular Wrappers
Getting Started
Run the following command using npm:
npm install -S @carbon/charts @carbon/charts-angular d3If you prefer Yarn, use the following command instead:
yarn add @carbon/charts @carbon/charts-angular d3Step-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 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.