Synapticon
Synapticon

Reputation: 13

Anychart Grid Alternating Colors

Is it possible to get alternating row/column colors in the grid?

see image of flash chart

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?

flash chart

html5 chart

Thanks ahead.

Upvotes: 0

Views: 104

Answers (1)

Synapticon
Synapticon

Reputation: 13

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.

Upvotes: 0

Related Questions