Multiple TBarSeries on chart and axes
Posted: Wed Sep 04, 2024 9:09 pm
Using Delphi 12.1 / patch 1
Using TChart 2024.40.240410 VCL
What I am trying and failing badly at is a chart, with multiple TBarSeries. Could be 4.. could be 15... so could be many of them.
I run through a grid of data. Each rows column will plot to this chart.
So if 5 columns... 5 bars.
I do this, so i can assign a custom axes to it.
3 Custom Axes for right now to simply things
-100 to 100
0 to 15
0 to 10000
I use the max value from each column to decide which custom axis to use.
I am having a hard time getting the chart to look nice. Things over lap, ive tried changing the Multibar value and nothing seems to clean up.... I set customBarWidth to make thinner for now. But there are large gaps.
Included are 3 images... 2 of what I have going now playing around to figure this out.
Other showing my wish of how it would turn out.
Showing 3 axes on the chart and each bar series playing happy with the others on scale and positioning.
I've gone over this over and over and over... and just can't figure it out.
Code wise... everything Series and Custom Axes created at run time.
I just have a TChart on my form, and fill in the rest as needed.
Using TChart 2024.40.240410 VCL
What I am trying and failing badly at is a chart, with multiple TBarSeries. Could be 4.. could be 15... so could be many of them.
I run through a grid of data. Each rows column will plot to this chart.
So if 5 columns... 5 bars.
I do this, so i can assign a custom axes to it.
3 Custom Axes for right now to simply things
-100 to 100
0 to 15
0 to 10000
I use the max value from each column to decide which custom axis to use.
I am having a hard time getting the chart to look nice. Things over lap, ive tried changing the Multibar value and nothing seems to clean up.... I set customBarWidth to make thinner for now. But there are large gaps.
Included are 3 images... 2 of what I have going now playing around to figure this out.
Other showing my wish of how it would turn out.
Showing 3 axes on the chart and each bar series playing happy with the others on scale and positioning.
I've gone over this over and over and over... and just can't figure it out.
Code wise... everything Series and Custom Axes created at run time.
I just have a TChart on my form, and fill in the rest as needed.