Search found 2 matches

by newbie321
Mon Aug 26, 2019 8:04 pm
Forum: JFreeChart
Topic: Adjusting the bar width on a jfree chart
Replies: 0
Views: 10588

Adjusting the bar width on a jfree chart

I have a x,y dataset of floats that spans the x-interval [0,1]. I need to render my data as bars. However, the bars are drawn with constant width and overlay on top of each other. I read other posts saying it is impossible to change the bars' width. I almost gave up and then I saw that in the exampl...
by newbie321
Mon Aug 26, 2019 12:47 am
Forum: JFreeChart
Topic: Adjusting bar width of bars in jfreechart
Replies: 1
Views: 6857

Adjusting bar width of bars in jfreechart

My (x,y) data spans the interval [0,1] and at every point I need to draw the bars. While the bars work great when x-axis is made of integers, the bars always overlap each other in my case. I read a few posts that claim in it impossible to change the width of a bar. I almost gave up on this and then ...