ngx-charts
docs-test
docs-test
  • Introduction
  • Motivation
  • Features
  • Installing
  • Custom Charts
  • Examples
    • Bar Charts
      • Vertical Bar Chart
      • Horizontal Bar Chart
      • Grouped Vertical Bar Chart
      • Grouped Horizontal Bar Chart
      • Stacked Vertical Bar Chart
      • Stacked Horizontal Bar Chart
      • Normalized Vertical Bar Chart
      • Normalized Horizontal Bar Chart
    • Pie Charts
      • Pie Chart
      • Advanced Pie Chart
      • Pie Grid Chart
    • Line/Area Charts
      • Line Chart
      • Area Chart
      • Stacked Area Chart
      • Normalized Area Chart
    • Polar/radar Chart
    • Heat Map Chart
    • Tree Map Chart
    • Number Card Chart
    • Gauge Chart
    • Linear Gauge Chart
    • DAG Chart
  • Contributing
    • Building
    • Troubleshooting
    • Guidelines
    • Community
    • Credits
  • Changelog
  • License
Powered by GitBook
On this page

Custom Charts

PreviousInstallingNextExamples

Last updated 6 years ago

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:

The demo of the above combo-chart can be seen here:

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.

Custom Chart Index

If you want to have your custom chart featured above, please submit a pull request to .

https://github.com/swimlane/ngx-charts/tree/master/demo/combo-chart
https://swimlane.github.io/ngx-charts/#/ngx-charts/combo-chart
Bar/Line Combo Chart
Sparkline
Timeline filter bar chart
this file