No matter what I do these gridlines won’t show up. Minor grid lines appear OK but are too dense.
Why would the Minor gridlines be displayed without the Major ones?
The GridlinesAppearance Class documentation says that “Gridlines come in two types: major and minor. They appear alternating in two-dimensional chart grids by default, based on the major and minor tickmark intervals.” Where would I find these “major and minor tickmark intervals”?
Please help!
Thank you.
It doesn't make a lot of sense to me either; if anything, I would expect for there to be major gridlines and not minor ones. But this is 5-year-old legacy behavior that we wouldn't want to change at this point.
There is no property setting that adjusts the interval for minor gridlines in a line chart. Since you are already drawing stuff in FillSceneGraph, I recommend turning off the gridlines and switching to that technique entirely, since it offers more flexibility.
Thank you for your offer to help. I have worked around the problem by drawing lines in the “FillSceneGraph” event handler.
However, what does not make sense is that the line chart I’m using (as you have correctly guessed) does not have major grid lines while it does have the minor ones.
Lastly, is there a way to adjust distance between minor grid lines?
Thank you for your reply,
Eugene
the answer to your question depends on the chart type, but i guess you're using one like linechart, which does not have any major gridlines. if you see a chart with multiple groupings on the x-axis, like a column chart, you can see where major gridlines are used.
if you are trying to get lines somewhere on your chart, i could help you find a solution, if you want to describe what your chart looks like and where you want the lines to be.