Search found 9 matches

by ravish
Wed Feb 21, 2007 6:48 pm
Forum: JFreeChart
Topic: Align category label with bars on bar chart
Replies: 3
Views: 5121

Solution:

Create datasets properly. If you don't want multiple category dont use it when creting datasets.
by ravish
Sat Feb 17, 2007 12:27 am
Forum: JFreeChart
Topic: Skip category labels
Replies: 29
Views: 52744

Yes, 3D Chart like that but with staggered labels...

Yes thats the kind of chart, but with lables staggered using your extremely handy patch...thanks! Did you create this one with the ChartFactory? Is there a way of creating the 3D chart without using the factory in current version?
by ravish
Fri Feb 16, 2007 1:06 am
Forum: JFreeChart
Topic: Align category label with bars on bar chart
Replies: 3
Views: 5121

Exact Same problem

I am having exact same problem and haven't found any solutions yet. The problem aggrevates even more when you export graph as SVG. Labels are not exactly below the bars but towards the (your) right hand side of bar usualy in my case. Is this a bug or can it be solved by setting some properties?
by ravish
Thu Feb 15, 2007 4:59 pm
Forum: JFreeChart
Topic: Labels disappear in SVG when using axis.setCategoryLabelPos-
Replies: 0
Views: 1586

Labels disappear in SVG when using axis.setCategoryLabelPos-

Hi, I'm tyring to get labels on my graph to be slanted and so tried using ((CategoryAxisSkipLabels)customCategoryAxis).setCategoryLabelPositions(CategoryLabelPositions.createDownRotationLabelPositions(0.445645)); Although this works in java application, when I'm looking at SVG generated in same way,...
by ravish
Thu Feb 15, 2007 2:20 pm
Forum: JFreeChart
Topic: Skip category labels
Replies: 29
Views: 52744

Nope, still dosen't work.

Sorry, I thought it works cause I saw the labels being truncated to dots, but its not updating the instance within the already created JFreeChart object created using the ChartFactory (obviously :oops:) . How do I get around this? Any help will be much appreciated. I did this: chart = ChartFactory.c...
by ravish
Thu Feb 15, 2007 1:48 pm
Forum: JFreeChart
Topic: Skip category labels
Replies: 29
Views: 52744

I think i found the way...but

I did this: chart = ChartFactory.createBarChart3D(title, "", "Frequency", dataset, PlotOrientation.VERTICAL, true, true, false); CategoryPlot plot = chart.getCategoryPlot(); plot = categoryPlot; So replaced the instance I got from chart object created by the factory with the customized category plot...
by ravish
Thu Feb 15, 2007 1:31 pm
Forum: JFreeChart
Topic: Display only certain labels of categoryAxis
Replies: 3
Views: 3721

this is already being addressed in another post

Follow this post:
15345
by ravish
Thu Feb 15, 2007 11:55 am
Forum: JFreeChart
Topic: Skip category labels
Replies: 29
Views: 52744

Using the interveaved method above for 3D bar chart

I'm using ChartFactory to create 3D effect on bar chart. How do I use the above patch on such jFreeChart object? Since, the factory dosen't allow any way of passing the customised category axis how do I set CategoryAxisSkipLabels.N_STEP_ALGO? Is it possible in this version? Or do I have to switch ba...