SharpPlot Reference > SharpPlot Methods > SetXLabelNudge Method

SharpPlot.SetXLabelNudge Method

Apply fine adjustment to X-axis labels from displacements (right,up) in points.

public void SetXLabelNudge(
    double nudgeX,
    double nudgeY


// Move labels right and up to appear
// beside the tickmarks rather than below

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.

Send comments on this topic
© Dyalog Ltd 2021