UpdateFromPoint()

View as Markdown

Definition

Updates an anchor’s x and y values from a given point (in device pixels).

Method Return Value

This method does not return a value.

Syntax

\<ChartAnchor\>.UpdateFromPoint(Point point, ChartControl chartControl, ChartScale chartScale)

Method Parameters

NameDescription
pointThe chart anchor’s point value to be updated
chartControlA ChartControl representing the x-axis
chartScaleA ChartScale representing the y-axis

Examples

1//set the chart anchors x point value
2
3MyAnchor.UpdateXFromPoint(point, chartControl, chartScale);