Search found 21 matches

by ckp
Wed Mar 28, 2007 1:16 pm
Forum: JFreeChart
Topic: Customizing tooltips fro Stacked bars
Replies: 2
Views: 3769

Hey, thanks
But I forgot to mention , my chart has a DateAxis. Using following for now May be I should override something to get the format I need.

Code: Select all

renderer.setBaseToolTipGenerator(StandardXYToolTipGenerator.getTimeSeriesInstance());
-ckp
by ckp
Fri Mar 23, 2007 11:16 am
Forum: JFreeChart
Topic: Customizing tooltips fro Stacked bars
Replies: 2
Views: 3769

Customizing tooltips fro Stacked bars

Hi, I am using StandardXYToolTipGenerator. It is currently displaying a set of name(string) for bar and 5 numbers. What are these and how do I get some useful information displayed there ? Example: [Task1, Assigned To: ckp, Duration: 8 hrs] etc? Is there some specific method that I can override? And...
by ckp
Fri Mar 23, 2007 10:43 am
Forum: JFreeChart
Topic: Legend in a stacked bar chart
Replies: 8
Views: 6883

bump
by ckp
Wed Mar 21, 2007 5:03 am
Forum: JFreeChart
Topic: Legend in a stacked bar chart
Replies: 8
Views: 6883

Hi Dave,
Is there somespecific method etc that should be overridden if I need to create my own renderer (extention of StackedXYBarRenderer) to get this support within version '4' itself? Or some other workaround?

Thanks in advance,
ckp
by ckp
Tue Mar 20, 2007 2:30 pm
Forum: JFreeChart
Topic: Legend in a stacked bar chart
Replies: 8
Views: 6883

Hi,
I am facing similar issue and using 'StackedXYBarRenderer' and 'StandardXYItemLabelGenerator'...Do I need to create my own LabelGenerator?

Thanks,
ckp
by ckp
Tue Mar 20, 2007 1:31 pm
Forum: JFreeChart
Topic: Inserting string into stacks of Stacked barchart
Replies: 4
Views: 4941

Hi David,
Are you referring to 'ItemLabel' from the demo? If not, I have not found this eigther.
And what is a 'LegendItem' ? It it related to 'properties' ?

Thanks,
ckp
by ckp
Tue Mar 20, 2007 8:00 am
Forum: JFreeChart
Topic: With TimeTable XYDataset, why the stacked Bars are shifted ?
Replies: 3
Views: 4524

Thanks David, this helped.
by ckp
Thu Mar 01, 2007 2:22 pm
Forum: JFreeChart
Topic: With TimeTable XYDataset, why the stacked Bars are shifted ?
Replies: 3
Views: 4524

With TimeTable XYDataset, why the stacked Bars are shifted ?

Hi Dave, My stacked bars are shifted with this dataset. How do I fix this? (bars were apparantly ok with CategoryTableXYDataset.) Regards, ckp private TimeTableXYDataset createdTaskData(){ //SAMPLE DATA TimeTableXYDataset taskData = new TimeTableXYDataset(); Day d1 = new Day(1, 3, 2007); Day d2 = ne...
by ckp
Thu Mar 01, 2007 2:03 pm
Forum: JFreeChart
Topic: fix bar size in reports
Replies: 3
Views: 3987

Hi Dave,

Is it possible to get bars with fixed width, with StackedXYBarRenderer also?

regards,
ckp
by ckp
Thu Mar 01, 2007 12:26 pm
Forum: JFreeChart
Topic: Entity and Stacked Bar chart
Replies: 3
Views: 4307

Hi Dave, Thanks for explaining this. I seem to get an 'XYItemEntity' with getItem() call. Is there any co-relation between an Entity and the 'Y' value it represents on the graph? If yes, how to establish that? If no, is there any other means by which I can relate these two? I am using a factpry meth...
by ckp
Thu Mar 01, 2007 11:12 am
Forum: JFreeChart
Topic: Range in categories (X axis)
Replies: 5
Views: 6349

You can use the TimeTableXYDataset class for the dataset. Thanks Dave, That helped :) Two more queries...I could not create a histogram using XYPlot plot = new XYPlot(dataset, xAxis, yAxis, renderer); in an overridden factory method createHistogram where yAxis is a DateAxis as below code. But It wa...
by ckp
Tue Feb 27, 2007 2:40 pm
Forum: JFreeChart
Topic: Entity and Stacked Bar chart
Replies: 3
Views: 4307

Entity and Stacked Bar chart

Hi, I am very new to JFreeChart and have not fully understood the role of 'Enity'. Is it required to 'create' entities explicitly or do they get created? I need to recieve mouse events from the bars on a stacked chart. But as of now I am able to get only the location of mouse-click as following but ...
by ckp
Tue Feb 27, 2007 12:12 pm
Forum: JFreeChart
Topic: Range in categories (X axis)
Replies: 5
Views: 6349

Hi Tom, Is there any specific way to create a sample CategoryDataset that is understood by the TimeSeries axis ? Also, can TimeSeries axis be used for Stacked Bar chart as well?
by ckp
Tue Feb 27, 2007 12:07 pm
Forum: JFreeChart
Topic: setRenderAsPercentages does not work
Replies: 4
Views: 4260

Does StackedBarChartDemo7.java work for you?
Hi David,

I am trying to create a stacked bar chart; Where do I find this StackedBarChartDemo7 ? I have accessed till StackedBarChartDemo4

Thanks,
ckp
by ckp
Tue Feb 27, 2007 11:48 am
Forum: JFreeChart
Topic: Dynamic background to histogram: possible?
Replies: 7
Views: 8540

Re: Dynamic background to histogram: possible?

Hi Richard, Thanks for your valuable suggestions..... There seems to be one more problem here...there is no 'stacking' visible for two values ( if the 2nd value is within the same series ). Following is the dataset : //PS: Every Value needs to split between two series for normal loading and overload...