AddPastedOffset()
<< Click to Display Table of Contents >> AddPastedOffset() |
A virtual method which is called every time a DrawingTool is copied and pasted to a chart. The default behavior will offset the chart anchors price value down by 1, percent. However, this behavior can be overridden for your custom drawing tool if desired.
This method does not return a value
You must override this method using the following syntax:
public override void AddPastedOffset(ChartPanel panel, ChartScale chartScale)
{
}
panel |
A ChartPanel representing the the panel for the chart |
chartScale |
A ChartScale representing the Y-axis |
public override void AddPastedOffset(ChartPanel chartPanel, ChartScale chartScale) |