CreateAnchor()
<< Click to Display Table of Contents >> CreateAnchor() |
Used to create a new chart anchor at a specified mouse point.
A new ChartAnchor at a specified point in device pixels.
CreateAnchor(Point point, ChartControl chartControl, ChartScale chartScale)
point |
A Point in device pixels representing the current mouse cursor position |
chartControl |
A ChartControl representing the x-axis |
chartScale |
A ChartScale representing the y-axis |
public override void OnMouseDown(ChartControl chartControl, ChartPanel chartPanel, ChartScale chartScale, ChartAnchor dataPoint) |