Improve this doc View source

pfC3Chart
directive in module patternfly.charts

Description

Directive for wrapping c3 library

Note: The 'patternfly.charts' module is not a dependency in the default angular 'patternfly' module. In order to use patternfly charts you must add 'patternfly.charts' as a dependency in your application.

Usage

as attribute
<ANY pf-c3-chart
     id="{string}"
     config="{expression}">
   ...
</ANY>

Parameters

ParamTypeDetails
idstring

the ID of the container that the chart should bind to

configexpression

the c3 configuration options for the chart

Example

Source





Demo