• Links within Charts

    By Michael Fariborz 1 decade ago

    Hello,

    First let me just say this project looks great.  I've been spending some time looking at the database and digging in to some of the code behind the scenes and am really enjoying it.  With that said, I do have a question, that I haven't been able to track down a definitive answer to by looking at the code.

    Do Java Charts allow for you to specify a link as part of the data set for a given part of the chart, so that you can click on that part of the chart and it would navigate to the link specified?  If Java Charts don't handle that, do you happen to know if JFreeCharts have that functionality?

    In particular, I'm thinking that I would like to have something like a Gantt chart where the user could click on the particular task and be taken to a document that has more detail on the task that they clicked on.

    Thanks,

    Mike

    • Response

      By Naveen Maurya 1 decade ago

      Mike,

       

      That is a nice idea. But the problem is that the charts rendered here are images. So I would have to find out the exact coordinates of the portion on the image where the a particular piece of pie in pie chart resides. JFreeChart does have this feature but I have seen it only in its Java application demo and not in web based ones. If this is possible then I would surely include this in next version Smile

       

      Regards,

      Naveen