Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Vertical Lines from AMCHARTS Grid and keep Horizontal lines

My question is about a specific Graphs and Charts Building Tool call AMCHARTS. I am using their live editor to build a Graph, and I need to remove the vertical lines (leave the horizontal lines only) from the chart grid.

Is it possible to do so?

thanks,

like image 738
user3772369 Avatar asked Feb 17 '16 16:02

user3772369


2 Answers

Just in case someone is still looking for the answer:

//disable horizontal lines    
valueAxis.renderer.grid.template.strokeWidth = 0;

//disable vertical lines
categoryAxis.renderer.grid.template.strokeWidth = 0;
like image 66
SimonDau Avatar answered Nov 13 '22 03:11

SimonDau


just change "categoryAxis"

"categoryAxis": {
     "gridThickness": 0
},

Thanks.

like image 11
Sri Avatar answered Nov 13 '22 02:11

Sri