The unlocked vertical line can be moved by the user. The horizontal line should be refreshed as soon as the vertical line moves from one bar to another.
The only thing I have been able to find is how to unlock a vertical line:
//draw Vertical Line
IVerticalLine VLine = DrawVerticalLine("tag1", 0, ColorOfTheVLine, DashStyle.Solid, 2);
// Unlock Line
foreach (IDrawObject draw in DrawObjects)
{
if (draw.DrawType == DrawType.VerticalLine)
draw.Locked = false;
}
Thanks for your help
Comment