vbnet chart make 0 gridline line different color

The solution for “vbnet chart make 0 gridline line different color” can be found here. The following code will assist you in solving the problem.

Dim MyStripLine As New StripLine()

MyStripLine.BorderColor = Color.Black
MyStripLine.IntervalOffset = 0
MyStripLine.StripWidth = 2

MyChart.ChartAreas(“ChartArea1”).AxisY.StripLines.Add(MyStripLine)

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts