Home › forums › Using CanvasJS › 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:
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.
Please take a look at this JSFiddle.
You must be logged in to reply to this topic.