Skip to main content

Is there anyway to modify the code for my Charts so that the YAxis says something like this: yAxis: { gridLineWidth: 0, minorGridLineWidth: 0 },

Rich,

Create a snippet and set to run before your chart renders.  The snippet looks like this:


&nbsp; &nbsp;var params = argumentss0], $ = skuid.$;<br>&nbsp; &nbsp;&nbsp;<br>&nbsp; &nbsp; params.yAxiss0].gridLineWidth = 0;<br>&nbsp; &nbsp; params.yAxiss0].minorGridLineWidth = 0;&nbsp;


Thanks,

Bill


THANK YOU BILL! Very grateful for your comment. It works! At first I did not think it did because the line was still there. But that is because I have more than one model or series on each chart. So I played with it and changed the code to be: var params = arguments[0], $ = skuid.$; params.yAxis[0].gridLineWidth = 0; params.yAxis[0].minorGridLineWidth = 0; params.yAxis[1].gridLineWidth = 0; params.yAxis[1].minorGridLineWidth = 0; And now all the lines disappear. THANK YOU!