user3051677 user3051677 - 3 months ago 23 Question

Change Zoom Selection Rectangle Color in VB.NET

How can I change color of selection rectangle in MSChart in VB.NET?

The image is shown below to clear my question a bit:

enter image description here



Should be able to use the Cursor X and Cursor Y properties to set the selection color. Should be something like:

chart.ChartAreas[0].CursorX.SelectionColor = Color.Lime;
chart.ChartAreas[0].CursorY.SelectionColor = Color.Lime;