Skip to content

Commit

Permalink
(docs): Update custom charts page
Browse files Browse the repository at this point in the history
  • Loading branch information
marjan-georgiev committed Oct 3, 2017
1 parent a6f0459 commit eb33ea2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/intro/custom-charts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Custom Charts

Other than the library of available charts, ngx-charts also exports all of the components and helpers used as building blocks for the charts. Things like legends, axes, dimension helpers, gradients, shapes, series of shapes, can all be directly imported into your application and used in your components. This allows you to combine them and build custom charts that implement use cases that the pre-made charts do not support.

You can find an example of how to use these components to build a custom chart here: https://github.com/swimlane/ngx-charts/tree/master/demo/combo-chart

The demo of the above combo-chart can be seen here: https://swimlane.github.io/ngx-charts/#/ngx-charts/combo-chart

The charts under the 'Demos' group in our demo page are not distributed with the library. However, their code is available and can be copied directly into your project. We encourage you to submit a pull request for your custom charts to be listed in our 'Demos' section, because they may help other people that have the same use case as you.

0 comments on commit eb33ea2

Please sign in to comment.