I am using ng2-charts to load bar charts with data from API response. Because this API uses filters, API sometimes gives 5 records and sometimes 50 records in the data array.
Graph loads fine for 10-15 data, on full-screen mode but when there are more records, the graph is congested and barely readable.
I was looking for a way to make it scrollable with constant width of bars all the time.
Here's the implementation: https://stackblitz.com/edit/ng2-charts-bar-template-r8mmuo
I tried this approach which didn't helped on my case.