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
Ability to specify an axis unit divisor
Moderator: Queue Moderators
- ArctionPasi
- Posts: 1367
- Joined: Tue Mar 26, 2013 10:57 pm
- Location: Finland
- Contact:
Re: Ability to specify an axis unit divisor
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.
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