Is it possible to get alternating row/column colors in the grid?
Also, the grid lines in the old chart were exactly on the values, now the values lie exactly between the lines. Can this be changed?
Thanks ahead.
Is it possible to get alternating row/column colors in the grid?
Also, the grid lines in the old chart were exactly on the values, now the values lie exactly between the lines. Can this be changed?
Thanks ahead.
Just to answer the question.
Alternating colors can be done by adding a palette to the chart grid for example:
chart.yMinorGrid().palette(["#FFF 0.25", "#000 0.25"]);
Or look at the example in the anychart playground: https://playground.anychart.com/cO6ebTmF/0
The anychart flash setting tickmarks_placement="Center" is not supportet anymore as it does not meet the requirements of categorized charts.
chart.yMinorGrid().palette(...)does the trick. Now I still have the problem with the grid position.chart.xScale.mode('continuous')comes already a bit closer to what I want. The values are on the grid lines. But I want the mode 'discrete', with indentations on the sides and still the values should be on the grid. Like this: i.sstatic.net/lcQBE.png I can't figure out how to change the grid to make it fit. Here is the example in Playground: playground.anychart.com/cO6ebTmF