SharpPlot Reference > SharpPlot Properties > YTrackFormat Property SharpPlot.YTrackFormat Property
Set a formatter for primary Y-axis tracking.
public string YTrackFormat {get; set;}
Example
sp.YTrackFormat = "$#,##0";
Description
When you use the PageMap class to enable an active chart viewer, it may be helpful to translate the mouse position into the co-ordinate system shown on the chart. This allows the user to point the mouse at a data value and read off the associated numbers directly.
The default is to show the y-position as “y:value” where the value is rounded to 3 significant figures. Note that only the primary y-axis is tracked.
See also ...Active charts in GUI Applications | PageMap.GetTracker Method
Send comments on this topic © Dyalog Ltd 2021
|