show hide default grids in Js
Hi,
Is there a way to show default gridlines onload. I dont have any custom gridlines. I want to show default grids that appear with code below onload the chart. grid :{ y: { show : true, } }
Many thanks in advance.
refer this set datapoints for which you want to show grid lines
Thanks for your response but that does not work for me. I have to load different charts on every click and should provide an button to show hide grid lines. I solved it using d3 to show: d3.selectAll('.c3-grid line') .style('visibility', 'visible')
to hide d3.selectAll('.c3-grid line') .style('visibility', 'hidden')
But it would be better If i have that option in c3
can you post the fiddle here, i'll try that
no response from submitter