Search found 4 matches

by Manakin
Mon Feb 09, 2009 1:15 pm
Forum: JFreeChart
Topic: FIXED: BarChart - Bars only have 1px width
Replies: 7
Views: 13539

fixed it

the problem was in the dataset (ur right david thx!)

i had 9 different rows and 9 different columns -> switched them to 9 columns with 1 unique row name key

works fine now
thx!
by Manakin
Mon Feb 09, 2009 9:26 am
Forum: JFreeChart
Topic: FIXED: BarChart - Bars only have 1px width
Replies: 7
Views: 13539

sry for my late reply, i was already on weekend :)

results:
dataset.getRowCount() = 9
dataset.getColumnCount() = 9

another strange thing: it doesnt matter what size the image has

i tried it with "height 800" but my bars didnt resize :(
by Manakin
Thu Feb 05, 2009 4:14 pm
Forum: JFreeChart
Topic: FIXED: BarChart - Bars only have 1px width
Replies: 7
Views: 13539

hmm i have a height of 200 and 8 entries in my dataset

in basic: what i want to provide is 8 bars with a space of 1-2px and a height of at least with 10-15px

should i use another chart for this purpose or is the barchart the right descission
by Manakin
Thu Feb 05, 2009 2:18 pm
Forum: JFreeChart
Topic: FIXED: BarChart - Bars only have 1px width
Replies: 7
Views: 13539

FIXED: BarChart - Bars only have 1px width

hi everyone, i'm taking my first steps in JFreeChart and got a working Chart in my app everything looks fine but my bars have a thickness of 1px here my source: CategoryAxis yAxis = new CategoryAxis(); yAxis.setMaximumCategoryLabelLines(1); yAxis.setCategoryMargin(0.01); yAxis.setLowerMargin(0.08); ...