Hi All,
I use 2 colorlines: vertical and horizontal ones at value = 0 in a chart, and also turn on marks for series. But when I move the chart (use right button on mouse), when those colorlines or marks pass the chart bounds, they still appear. How can we prevent this situation from happenning ?
Thank you very much for your supports.
Sincerely,
Brian
marks and colorlines outside chartbouds
Hi brian
You have to put the "NoLimitDrag" property of ColorLines to false, and "Clip" property of Marks to true, and then the ColorLines and Marks will be hides.
You have to put the "NoLimitDrag" property of ColorLines to false, and "Clip" property of Marks to true, and then the ColorLines and Marks will be hides.
Code: Select all
line1.Marks.Clip = true;
colorLine1.NoLimitDrag = false;