Hello again, and thank you for your help yesterday with changing Legend size.
Today I am working with a Cartesian chart, and attempting to change the color and width of the major gridlines. I am attempting to follow the documentation (
http://helpdotnetvision.nevron.com/UsersGuide_Axes_Scale_ScaleConfigurators_Major_and_Minor_Gridlines.html), but am not having any luck. Here is my code:
Dim yAxis As NAxis = chart7.Axis(StandardAxis.PrimaryY)
Dim scaleConfiguratorY As NStandardScaleConfigurator = yAxis.ScaleConfigurator
scaleConfiguratorY.MajorTickMode = MajorTickMode.AutoMaxCount
scaleConfiguratorY.AutoLabels = False
scaleConfiguratorY.MajorGridStyle.SetShowAtWall(ChartWallType.Back, True)
scaleConfiguratorY.MajorGridStyle.LineStyle.Color = Color.Red
scaleConfiguratorY.MajorGridStyle.LineStyle.Width = New NLength(5)
However, the color and width of the major gridlines do not change, no matter the values that I use. Note, these gridlines do not fall inside a scale section. Would you happen to have any suggestions?
Thanks,
Ben