Chart with non automatic bar aling/size

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
Nerdherrschaft
Newbie
Newbie
Posts: 2
Joined: Mon Feb 08, 2021 12:00 am

Chart with non automatic bar aling/size

Post by Nerdherrschaft » Tue Feb 09, 2021 12:36 pm

Is it possible to show a dynamic chart with fixed bar align and size?
I'd like to show my chart with vertical bars with width 5 and all them to right align.

On the follow attached example I built it using rectangles, so I just created the object in runtime and put it on the right side, I'd say my rectangle chart 'moves' from right to left.
I'd like to do something like that using TeeChart

I'm using TeeChart Pro 2020 + RadStudo 10.4.1 + FMX.
Attachments
Untitled.jpg
Untitled.jpg (24.87 KiB) Viewed 30905 times

Nerdherrschaft
Newbie
Newbie
Posts: 2
Joined: Mon Feb 08, 2021 12:00 am

Re: Chart with non automatic bar aling/size

Post by Nerdherrschaft » Wed Feb 10, 2021 12:20 pm


Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Chart with non automatic bar aling/size

Post by Yeray » Thu Feb 11, 2021 3:02 pm

Hello,

I'm glad to hear you found a solution.
An alternative would be to play with CustomBarWidth or with the bottom axis scale SetMinMax(min, max).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply