Ability to specify an axis unit divisor

Need a new feature to LightningChart Ultimate? Post it here and perhaps it will be implemented in the next version...

Moderator: Queue Moderators

Post Reply
DaveK
Posts: 1
Joined: Tue Jul 09, 2013 9:31 am

Ability to specify an axis unit divisor

Post by DaveK » Tue Jul 09, 2013 10:17 am

It would be nice to be able to throw data at the chart using axes in aggregate units without having to divide each value when adding to the series.
For example, frequency data plot with X values in Hz plotted on an X axis in kHz or MHz units without having to divide each x value but instead just set a divisor on the axis.
I'm sure the value mapping to axis units would be more efficiently done down in the chart internals.
Might want divisor to also be capable of values < 1 to act as multiplier (kHz values plotted in Hz say).

Thanks
DaveK

User avatar
ArctionPasi
Posts: 1367
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland
Contact:

Re: Ability to specify an axis unit divisor

Post by ArctionPasi » Mon Jul 15, 2013 9:31 pm

Hi DaveK,

I'm sorry I totally missed your post here.

Axes have FormatValueLabel event handler, which allows you to multiply or divide the axis tick value, and return it as a string. The string is then plotted instead of regular value string to the chart axis ticks. That event is great for this kind of manipulation.
LightningChart Support Team, PT

Post Reply