Search found 17 matches

by nsurendiran
Fri Dec 18, 2009 10:06 am
Forum: JFreeChart
Topic: Gantt Tooltip is same for all subtasks. Any help?
Replies: 1
Views: 3707

Gantt Tooltip is same for all subtasks. Any help?

Hi All,

I am displaying tooltip for all the subtasks in my Gantt chart. My problem is I am getting the tooltip of the last subtask to all of my subtasks gantts.

Or

Someone could please explain me or show me how tooltip can be added to the subtask level, instead of the task level

Regards
Surendran
by nsurendiran
Tue Nov 10, 2009 4:28 am
Forum: JFreeChart
Topic: Guidance required in showing Tooltip Text
Replies: 4
Views: 6020

Re: Guidance required in showing Tooltip Text

Hi remiohead, We are not using Applets in our application. So I cannot think about using that one. Hi chechaquo, I tried displaying a map, but I didnt get the output to the screen. Image itself not displayed. I know I did something wrong. I tried the sample code suggested in the following example. h...
by nsurendiran
Mon Nov 09, 2009 9:14 am
Forum: JFreeChart
Topic: Tooltips shown even for invisible series
Replies: 1
Views: 2275

Re:help required

Hi lyria,

I know your expectations, but Sorry I am not here to reply to your post. But instead I need a help from you.
I am trying to show the tooltip for the Gantt. But I couldnot get it right. Could you please help me ?

Thanks
by nsurendiran
Wed Nov 04, 2009 8:32 am
Forum: JFreeChart
Topic: Guidance required in showing Tooltip Text
Replies: 4
Views: 6020

Guidance required in showing Tooltip Text

Hi All, I tried the ItemLabelDemo1.java and I got the Label and the Tooltip shown in the chart perfectly. I need to show the tooltip in my Gantt, drawn in browser. For that I used saveChartasPNG method and displaying the image using <img> tag. But in this case I am getting the Labels but not the too...
by nsurendiran
Wed Nov 04, 2009 4:43 am
Forum: JFreeChart
Topic: Adding label for subtask in Gantt
Replies: 4
Views: 7217

Re: Adding label for subtask in Gantt

Hi All,

Anyone can throw me some light on this? I need this to be implemented.

Thanks

Surendran
by nsurendiran
Tue Nov 03, 2009 10:35 am
Forum: JFreeChart
Topic: Gantt chart requirement in Jfreechart 1.0.13
Replies: 1
Views: 2321

Re: Gantt chart requirement in Jfreechart 1.0.13

Hi, I found the below code is working for me. Ofcourse I found it in this same forum after some intensive search. final Task t1 = new Task("01",new SimpleTimePeriod(time("00","00"), time("23","59"))); final Task t2 = new Task("011", new SimpleTimePeriod(time("03","30"),time("09","00"))); final Task ...
by nsurendiran
Tue Nov 03, 2009 9:13 am
Forum: JFreeChart
Topic: Gantt chart requirement in Jfreechart 1.0.13
Replies: 1
Views: 2321

Gantt chart requirement in Jfreechart 1.0.13

Hi All, I am displaying a gantt to show the resource utilization. In which I may have to show "more than one Gantt" for a resource. For eg: Parking stand as my domain Axis and Time (00:00 to 23:59) is my range Axis. for a parking stand and occupancy time I am showing in Gantt so it might have the va...
by nsurendiran
Tue Nov 03, 2009 5:36 am
Forum: JFreeChart
Topic: How to increase the width of the Chart?
Replies: 2
Views: 3010

Re: How to increase the width of the Chart?

Hi David, Thanks for the reply. I realised that this is an issue with how I display the saved chart image to the browser. If I directly write it into the browser, the image size is adjusted to the browser size. And I can see the real size of the image by only clicking the actual size button at the r...
by nsurendiran
Tue Nov 03, 2009 5:30 am
Forum: JFreeChart
Topic: Gantt chart Label value display
Replies: 3
Views: 4369

Re: Gantt chart Label value display -- Closed

Hi,

This thread is a duplication of what is being asked here..

http://www.jfree.org/phpBB2/viewtopic.php?f=3&t=29441

Code: Select all

dataset.getColumnKey(category)
Sorry for that. And Please refer the above URL

Thanks
Suren
by nsurendiran
Tue Nov 03, 2009 5:15 am
Forum: JFreeChart
Topic: Gantt chart Minor ticks
Replies: 4
Views: 4575

Re: Gantt chart Minor ticks

Hi Thanks again for the reply. Yes, this is the one I am looking for. And its working now But I did a workaround and solved my problem , say if my chart height is 700, I have to set the minorGridlines height to 600, and it was working. DateAxis rangeAxis = (DateAxis) plot.getRangeAxis(); rangeAxis.s...
by nsurendiran
Thu Oct 29, 2009 4:41 am
Forum: JFreeChart
Topic: how to get the value in Gantt chart
Replies: 1
Views: 2400

how to get the value in Gantt chart

Dear All, I am displaying a Gantt chart, having Time in the Range Axis. I need to uniquely identify each Gantt to assign some Labels to that accordingly. How can I do that? I tried the following code. But it seems to return some numerical value, which I dont understand. static class LabelGenerator i...
by nsurendiran
Wed Oct 28, 2009 11:31 am
Forum: JFreeChart
Topic: Gantt chart Label value display
Replies: 3
Views: 4369

Re: Gantt chart Label value display

Hi,

Ant thoughts on my first question, on how can I uniquely identify each Gantt in my chart.
I have String in my DomainAxis/Category and Time values in the RangeAxis. Please help me in this regards.

Thanks
Suren
by nsurendiran
Wed Oct 28, 2009 5:09 am
Forum: JFreeChart
Topic: Gantt chart Minor ticks
Replies: 4
Views: 4575

Re: Gantt chart Minor ticks

Hi, Thanks for the reply. I have done the differentiating colors between the Minor and Major Ticks by the following code. CategoryPlot plot = chart.getCategoryPlot(); plot.setRangeGridlinesVisible(true); plot.setRangeGridlinePaint(Color.BLUE); //Range Line Vertical Major Tick plot.setRangeGridlineSt...
by nsurendiran
Tue Oct 27, 2009 11:39 am
Forum: JFreeChart
Topic: Gantt chart Label value display
Replies: 3
Views: 4369

Re: Gantt chart Label value display

Also, I need to display the label on the Gantt, currently its displayed above the Gantt. How can I position the label to display the value on the Gantt?
I did this by adding the following code

Code: Select all

 renderer.setItemLabelAnchorOffset(-20);
Any thoughts on the other quries please??
by nsurendiran
Tue Oct 27, 2009 10:33 am
Forum: JFreeChart
Topic: How to increase the width of the Chart?
Replies: 2
Views: 3010

How to increase the width of the Chart?

Hi All, I have defined a chart width as like below try { OutputStream outStream = response.getOutputStream(); response.setContentType("image/png"); ChartUtilities.writeChartAsPNG(outStream, chart, 1000, 500); outStream.flush(); outStream.close(); }catch (IOException e) { System.err.println("Problem ...