I want to change the format of DataCursor

A forum dedicated to WinForms version of LightningChart Ultimate.

Moderator: Queue Moderators

Post Reply
jn3hms
Posts: 7
Joined: Mon Feb 27, 2023 8:14 am

I want to change the format of DataCursor

Post by jn3hms » Wed Apr 19, 2023 7:18 am

Hello

The DataCursor feature is great :o , but I can't seem to specify the format of the displayed numbers.
Is it not possible to specify the format? Or if there is a better way to change that, please let me know. :oops:

thank you

ArctionKestutis
Posts: 555
Joined: Mon Mar 14, 2016 9:22 am

Re: I want to change the format of DataCursor

Post by ArctionKestutis » Wed Apr 19, 2023 9:36 am

Precision of number in DataCursor's Results table is automatically estimated. X and Y precision depend on Axis range and should be adjusted automatically on zooming. Formatting of other table entries depend how data was set initially. For examples, IntesityGridSeries.Data[j].Value.
Because of this 'adaptive' formatting requirement, currently it is not possible to customize table's formatting.

However, if you need more flexibility or DataCursor does not cover all your needs, you could implemented data-tracking functionality differently. You could find many examples in Interactive Examples App, which use different solution for 'tracking' functionality. You could find those examples with 'Track' keyword search in Interactive Examples App.

Hope this helps.

Post Reply