Recent

Author Topic: [solved] Barchart - why ist the first one too wide?  (Read 240 times)

Nicole

  • Hero Member
  • *****
  • Posts: 1095
[solved] Barchart - why ist the first one too wide?
« on: April 25, 2025, 05:30:29 pm »
I have a barchart. Every year I add 1 to 4 bars.
I want every bar to be the same width.
Whatever I do, the first bar is broader.

What I tried e.g. is what you see at the screenshot:
I set the fist value to the 31.12.2017, - did not help.

Which setting to change?

to add:
the width corresponds to the minor count of bars a year. You can see this on the chart itsself as well if you look closely.
« Last Edit: April 26, 2025, 08:28:15 am by Nicole »

wp

  • Hero Member
  • *****
  • Posts: 12799
Re: Barchart - why ist the first one too wide?
« Reply #1 on: April 25, 2025, 06:06:03 pm »
Set the BarSeries' BarWidthStyle to bwPercentMin (width is given as percentage (BarWidthPercent) of minimum distance between neighboring bars)

Nicole

  • Hero Member
  • *****
  • Posts: 1095
Re: Barchart - why ist the first one too wide?
« Reply #2 on: April 26, 2025, 08:27:59 am »
How elegant, how quick. Thank you. Worked.

 

TinyPortal © 2005-2018