| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Methods Structures Enumerations Style examples Glossaries Active Charts VectorMath Class DBUtil Class Get SharpPlot Download SharpPlot Buying SharpPlot SharpPlot Support Upgrading from GraPL Release notes |
Reference > Properties > XTrackFormat Property SharpPlot.XTrackFormat PropertySet a formatter for X-axis tracking. public string XTrackFormat {get; set;} Examplesp.XTrackFormat = "##0.0kg"; // for a scatterplot sp.XTrackFormat = "MMM/yyyy"; // for timeseries data DescriptionWhen 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 x-position as “x:value” where the value is rounded to 3 significant figures. You can override the default by specifying any valid format string here, including date formats if the X-axis is time-based. See also ...PageMap Class – Introduction | GetTracker Method |