Cannot remove all BarChart elements

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Post Reply
RCOO
Posts: 3
Joined: Thu Aug 16, 2018 9:15 pm
antibot: No, of course not.

Cannot remove all BarChart elements

Post by RCOO » Thu Aug 16, 2018 10:15 pm

I'm currently trying to remove all elements from a bar chart I'm creating, except for the bars themselves.

I currently still have an issue: I cannot seem to remove a dashed line in the top most part of the bars and the base line of the bars (close to the X axis).
Any tips on how to remove these elements?

Thank you!
Last edited by RCOO on Thu Aug 16, 2018 10:50 pm, edited 4 times in total.

RCOO
Posts: 3
Joined: Thu Aug 16, 2018 9:15 pm
antibot: No, of course not.

Re: Cannot remove all BarChart elements

Post by RCOO » Thu Aug 16, 2018 10:49 pm

Answering my own question:

plot.setRangeGridlinesVisible(false);

Post Reply