07-21-2022, 05:50 AM
Hi Paul,
I'm glad that you liked the demo.
This is a missing bit that it's ready but I couldn't test before releasing the latest update (15.2.64) so it hasn't been included, but we are going to release it in a few days.
To combine 2 different charts in one, you just need to create a second series with a different chart type.
If you check the third chart in that demo, I create 1 additional series (the main series is built-in).
For instance, to change the second series to a line, you can do this:
// create a second series here
SecondSeries := IWChartJS4.AddSeries(ctLine, 'Year 2050');
Then you will have the main series as a bar chart and the second series as a line one. Simple :-)
I'm glad that you liked the demo.
This is a missing bit that it's ready but I couldn't test before releasing the latest update (15.2.64) so it hasn't been included, but we are going to release it in a few days.
To combine 2 different charts in one, you just need to create a second series with a different chart type.
If you check the third chart in that demo, I create 1 additional series (the main series is built-in).
For instance, to change the second series to a line, you can do this:
// create a second series here
SecondSeries := IWChartJS4.AddSeries(ctLine, 'Year 2050');
Then you will have the main series as a bar chart and the second series as a line one. Simple :-)

