Search found 16 matches

by avanidhar
Tue Apr 28, 2009 4:06 pm
Forum: JFreeChart
Topic: mouse Clicks on axes
Replies: 3
Views: 3664

Re: mouse Clicks on axes

thanks paradoxoff, when i try to do as such ChartEntity entity = event.getEntity(); System.out.println(event.getEntity().toString()); i get a null pointer exception. It seems like the event.getEntity() method is returning a null pointer. any reasons why this could be happening?
by avanidhar
Mon Apr 27, 2009 3:27 pm
Forum: JFreeChart
Topic: mouse Clicks on axes
Replies: 3
Views: 3664

mouse Clicks on axes

Hi all,

I am using
JFreechart 1.0.13 and am stuck at a point where I need to handle mouse click events on the axes. Is there a way to do this in the latest JFreeChart version?? Please do let me know.

Avanidhar
by avanidhar
Wed Apr 22, 2009 3:04 pm
Forum: JFreeChart
Topic: Mouse event for Clicking on axes.
Replies: 3
Views: 5830

Re: Mouse event for Clicking on axes.

Thank you Dave,

I have started using JFreeChart 1.0.13 and my application seems to be substantially faster than the previous version. Thanks a lot! I am still figuring out how to capture mouse clicks on domain axis or range axis. Could you kindly guide me to the related API calls?

Thanks

Avanidhar
by avanidhar
Tue Apr 14, 2009 5:39 pm
Forum: JFreeChart
Topic: Moving Domain Axis up
Replies: 1
Views: 2464

Moving Domain Axis up

Hi,

I need to move the domain axis from the bottom of the chart to somewhere close to the middle of the range axis. Is there a way to do this? Do let me know.

Avanidhar
by avanidhar
Mon Apr 06, 2009 4:41 pm
Forum: JFreeChart
Topic: Mouse event for Clicking on axes.
Replies: 3
Views: 5830

Mouse event for Clicking on axes.

Dear All, I am developing an application where I am expected to perform certain actions when the mouse is clicked on the domain and range axes. Is there a way to determine whether the mouse is clicked on the domain axis or range axis? Any guidance in this regard would be greatly appreciated. Thanks ...
by avanidhar
Tue Feb 10, 2009 7:27 pm
Forum: JFreeChart
Topic: Bringing a plot to its original state
Replies: 3
Views: 4238

Thanks a ton :) That is exactly what i needed.
by avanidhar
Tue Feb 10, 2009 5:54 pm
Forum: JFreeChart
Topic: Bringing a plot to its original state
Replies: 3
Views: 4238

Thanks a ton :) That is exactly what i needed.
by avanidhar
Mon Feb 09, 2009 6:21 pm
Forum: JFreeChart
Topic: Bringing a plot to its original state
Replies: 3
Views: 4238

Bringing a plot to its original state

Hello All,

I used a custom piece of code to change the domain and range axis of a plot to implement custom zooming and panning. Now, when i try to reset the domain and range axes to their initial values, I am unable to do that. Is there any library function which does this? Do let me know.
by avanidhar
Mon Nov 10, 2008 8:52 pm
Forum: JFreeChart
Topic: Changing background color for a portion of the plot
Replies: 1
Views: 3341

Changing background color for a portion of the plot

Hi All, I am using JFreeChart for a medical analysis toolkit and need to select a region to do some manipulations. Once i select it, I need to set the background color of the region to do something else ( this is plainly an interface issue, but really important). Here is the code snippet which does ...
by avanidhar
Wed Oct 22, 2008 7:51 pm
Forum: JFreeChart
Topic: Disabling default mouse behaviour
Replies: 3
Views: 4812

I tried re-ordering the code. The zoom works fine as usual. But the zoomout gives the same problem. When i do a right click with shift enabled, the zoomout fails and the default menu appears on right click. Could this be solved if I could set the default mouse behaviour to null in some way? I tried ...
by avanidhar
Wed Oct 22, 2008 6:14 pm
Forum: JFreeChart
Topic: Disabling default mouse behaviour
Replies: 3
Views: 4812

Disabling default mouse behaviour

Dear All, I am using mouseclicks to zoom into my chart. When i do a regular click with an isShiftDown() function call, the zoom in functionality works fine. But when i try to zoom out using a shift + right click combination, it does not happen. This is my sample code public void mouseClicked(MouseEv...
by avanidhar
Mon Jul 07, 2008 3:32 pm
Forum: JFreeChart
Topic: Assigning URLs to a TextTopic string
Replies: 1
Views: 2467

Assigning URLs to a TextTopic string

Hi, I am working on a charting application where i need to link a piece of text from my Subtitle to a separate page. I was thinking of creating an imagemap and then assigning the URL using servlets. But i am not able to obtain the title or subtitle text from the chart to do so. Can anyone guide me a...
by avanidhar
Mon Jul 07, 2008 3:28 pm
Forum: JFreeChart
Topic: how do i print categoryitem labels in allternative lines....
Replies: 7
Views: 11759

i have been tweeking around with your exact problem and could not find a proper solution to it either on the forum or by looking through the API docs. So, i used an additional axis on the right side of the chart with the same range as the primary axis and added the label to it.
by avanidhar
Wed Jun 18, 2008 4:24 pm
Forum: JFreeChart
Topic: MultiLine Axis Labels
Replies: 4
Views: 11619

FYI,

I am using JFreeChart 1.0.9, and JDK 1.6 on a Windows Server 2003 Machine
by avanidhar
Tue Jun 17, 2008 11:33 pm
Forum: JFreeChart
Topic: MultiLine Axis Labels
Replies: 4
Views: 11619

MultiLine Axis Labels

Hi, I need to have a multiline label for my value axis. More precisely, my value axis has a label of "Y >>BETTER>>" while i need it to be Y >>BETTER>>. Hope you get what i say. I have tried numerous things like inserting a break/newline character and even concatenating 2 strings. But i do not seem t...