UpdateXFromPoint()

View as Markdown

Definition

Updates an anchor’s X value from a given point (in device pixels).

Method Return Value

This method does not return a value.

Syntax

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

Method Parameters

ParameterDescription
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);