GetPoint()
<< Click to Display Table of Contents >> GetPoint() |
Returns a chart anchor's data point in device pixels
A Point structure; a point value in device pixels for a chart's given panel & scale
<chartAnchor>.GetPoint(ChartControl chartControl, ChartPanel chartPanel, ChartScale, [bool pixelAlign])
chartControl |
A ChartControl representing the x-axis |
chartPanel |
A ChartPanel representing the a panel of the chart |
chartScale |
A ChartScale representing the y-axis |
pixelAlign |
An optional bool determining if the data point should be rounded to closest .5 pixel point |
//gets the chart anchors data points Point anchorPoint = MyAnchor.GetPoint(chartControl, chartPanel, chartScale); |