| ||
Introducing SharpPlot Your First Chart Recent Updates Sample Charts Tutorials General Tutorials Chart Tutorials SharpPlot Class Properties 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 > Methods > SetXLabelNudge Method SharpPlot.SetXLabelNudge MethodApply fine adjustment to X-axis labels from displacements (right,up) in points. public void SetXLabelNudge( double nudgeX, double nudgeY ); Example// Move labels right and up to appear // beside the tickmarks rather than below sp.SetXLabelNudge(6,4); This could be used as a space-saver option, for example to move the labels rightward and upwards to reduce the requirement for a bottom margin, or just to ensure that the output charts conform to a particular house-style. |