user3051677 user3051677 - 1 year ago 141 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


Answer Source

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;
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download