You must be logged in to post your query.
Home › Forums › Chart Support › Removing vertical lines and keeping x-axis and y-axis only
I hope everybody is doing well. I am customizing with the stacked bar graph and I need to get rid of the vertical lines inside the graph and I need only to add a vertical line at the bottom as an x-axis and the vertical line as the y-axis. Please help me out with this I gave up on it.
You can remove the gridLines by setting gridThickness to zero. Also you can use stripLines for showing reference lines. Please have a look at this code snippet:
Please take a look at this JSFiddle for complete code.
If this doesn’t suit your requirements, can you please provide us some pictorial representation so that we can understand your requirements and help you out.
I am also facing same issue but I have to remove both horizontal and vertical lines. I just wanted line graph with transparent background. I have tried to remove using lineThickness: 0,tickThickness: 0 but that didn’t help to achieve it.
You can remove vertical and horizontal axis lines by setting lineThickness, gridThickness and tickLength to 0 for axisX and axisY as shown in the below code snippet.
To make chart background as transparent, you can set backgroundColor property to transparent. Please take a look this JSFiddle for an example on chart with transparent background and without horizontal and vertical axis lines.
You must be logged in to reply to this topic. Login/Register