Reputation: 19
I need to implement a chart with ngx-charts (see: https://github.com/swimlane/ngx-charts) that combines multiple chart types into one. I already found the combo-chart-component example here that combines a line chart and a vertical bar chart but what I need is a line chart and a scatter plot (bubble chart). I would like to understand the code behind the combo chart example to be able to combine any 2 (or more) chart types into one but as there is no documentation for it, I could not figure out which parts of the source code belong to the line chart und which to the bar chart.
There is no other example in the whole world wide web than the one above that combines 2 (or more) different chart types into one, using ngx-charts.
Can anyone explain what I need to change from the above example to have a bubble chart instead of a bar chart?
... or maybe even provide a finished example that I just need to copy and paste into my project? :)
(I am using angular 6 with ngx-charts 9 but I could upgrade if I need to)
Upvotes: 1
Views: 5724