MoveAnchorX()

View as Markdown

Definition

Moves an anchor’s x value from start point by a delta point amount.

Method Return Value

This method does not return a value.

Syntax

\<chartanchor\>.MoveAnchorX(Point startPoint, Point deltaPoint, ChartControl chartControl, ChartPanel chartPanel, ChartScale chartScale)

Method Parameters

ParameterDescription
startPointThe chart anchor’s original starting point value
deltaPointThe chart anchor’s new point value to be updated
chartControlA ChartControl representing the x-axis
chartScaleA ChartScale representing the y-axis

Examples

1//move only the chart anchors x (bar/time) value
2MyAnchor.MoveAnchorX(lastPoint, newPoint, chartControl, chartScale);