[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
reacting on mouseclick on chart generateted with JFreeChart  XML
Forum Index -> Development
Author Message
hartmann

Power User

Joined: 20/08/2008 16:27:48
Messages: 73
Offline

Hi guys,

I'm using JFreeChart to build a gantdiagramm and the heximage component to display. Easy going, works fine.

Now it would be nice to react on mouseclick in the chart. Is there any way to do that? The gant diagramm shows some orders. Is it possible to obtain the order selected by mouseclick?

Regards

Horst
mreich

Power User
[Avatar]

Joined: 30/01/2009 08:34:23
Messages: 744
Offline

I'm not familiar with the generated GANT diagram, but I know that JFreeChart can generate an image map, and CC let's you use those maps, there's an example in the demo workplace.

Markus
[WWW]
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5523
Offline

Hi,

there is a corresponding demo in the demo workplace:
Components > Straight Components > Images > Chart with mapped areas

Regards, Björn

Björn Müller, CaptainCasa GmbH
hartmann

Power User

Joined: 20/08/2008 16:27:48
Messages: 73
Offline

Hi,

thanks for help. I found the example and try it with the gant-diagram.

Regards, Horst
hartmann

Power User

Joined: 20/08/2008 16:27:48
Messages: 73
Offline

works fine now, also for gant-diagram

thx for quick reply

Horst
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team