swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular
https://swimlane.github.io/ngx-charts/
MIT License
4.28k stars 1.15k forks source link

How do I guess the component corresponding to a chart type? #1303

Open naveedahmed1 opened 4 years ago

naveedahmed1 commented 4 years ago

Describe the bug I have gone through the demo site and the documentation.

I think its very hard to find the component corresponding to a particular chart type.

I ended up using inspect element on demo site :D

Here is a suggestion to please add the source code of each chart example on the demo site.

In documentation there's only one Stackblitz demo for Vertical Bar Chart https://swimlane.gitbook.io/ngx-charts/examples/bar-charts/vertical-bar-chart

It would be better, if the documentation page of each chart type is linked to the example page of the demo site. For example the documentation page of Vertical Bar Page should point to https://swimlane.github.io/ngx-charts/#/ngx-charts/bar-vertical, and this page should also include the source code of the example.

ngx-charts version 12.0.1

TheParad0X commented 4 years ago

"and this page should also include the source code of the example." is the most important message here! The example page is very frustrating as it is right now. It was the reason my company switched back to PrimeNg with its charts.js wrapper...