Changing the label of the axis ticks in event

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Yeray
Site Admin
Site Admin
Posts: 8931
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Changing the label of the axis ticks in event

Post by Yeray » Fri Aug 21, 2015 3:14 pm

Hello,

So at this point you are using YValues.DateTime as some kind of categorizing setting so you can determine what axis to assign later (and you would also use it on the hypothetical OnGetCustomAxisLabel).
While this event isn't implemented, I think you still can achieve the same result inheriting TLineSeries (ie TMyLineSeries), add an extra property to your custom series (ie, IsDuration: boolean) and use it to store what kind of series is and assign the axis later depending on that property.
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