#195 Alternate Property editor

open
None
7
2008-02-26
2008-02-01
No

Hello,

I have created a litlle property editor for JFreeChart, that works a little like a property inspector.

It is still a work in progress but i will gladly hear any comment.

If you think this is a valuable addition to JFreeChart i can work on it to make it more stable and complete.

A little demo jar file is attached here with full source included for the editor.

It works with JFreeChart 1.0.9 and JCommons 1.0.12
maybe it could work with previous version i havnt tested.

Thanks for reading.

Discussion

  • Julien Blaize

    Julien Blaize - 2008-02-01

    Logged In: YES
    user_id=1916839
    Originator: YES

    There was a little bug in one of the method to modify the legend.

    reuploaded the file.

    To use it you must have jfreechart-1.0.8.jar and jcommon-1.0.12.jar in the same directory.
    File Added: JFreeChart_Editor_Demo.jar

     
  • Henry Proudhon

    Henry Proudhon - 2008-02-04

    Logged In: YES
    user_id=1379312
    Originator: NO

    I've tried your new editor, it works nicely. I think it is better than the current editor we have. Thanks for posting this patch. One quick comment: could you make the tree background fully white (presently it is limited to the bounding box of the tree).

     
  • Julien Blaize

    Julien Blaize - 2008-02-06

    Logged In: YES
    user_id=1916839
    Originator: YES

    I have modified the background color and added an attempt to allow edition of series infos.
    currently not fully fonctional.
    Tell me what you think.
    File Added: JFreeChart_Editor_Demo.jar

     
  • Julien Blaize

    Julien Blaize - 2008-02-19

    Logged In: YES
    user_id=1916839
    Originator: YES

    I am still working on the alternate editor.
    here is the last release.
    you can edit Pie chart and you can also edit any series by double-clicking on an entity in the chart.

    I would gladly like to have some feedback on this patch...

    File Added: JFreeChart_Editor_Demo.jar

     
  • Henry Proudhon

    Henry Proudhon - 2008-02-20

    Logged In: YES
    user_id=1379312
    Originator: NO

    Hi Julien, I'm favourable to accept your patch but David owns the decision.
    I know he is very busy at the moment, please be patient, I don't think he has had the time to review your patch yet.

    Regards
    Henry

     
  • David Gilbert

    David Gilbert - 2008-02-26

    Logged In: YES
    user_id=112975
    Originator: NO

    Hi Julien,

    I ran your demo and it looks great! I didn't get a chance to look through your code yet, and chances are it will be a few weeks before I can devote much time to it. But meantime, what are the requirements for your code? The current JFreeChart 1.0.x versions are designed to run on JRE 1.3 or later, and that will step up to JRE 1.4 or later for the 1.2.x series. These are old versions, I know, but as a library it makes sense for JFreeChart to lag behind in terms of version requirements (I don't think there are many users still on JRE 1.3.1, but I know that there's still a bunch using JRE 1.4.2).

    If your code needs 1.5 (?) then maybe we should look at bundling it as an optional jar for those that want to try it out.

    Regards,

    Dave Gilbert
    JFreeChart Project Leader

     
  • David Gilbert

    David Gilbert - 2008-02-26
    • priority: 5 --> 7
    • assigned_to: nobody --> mungady
     
  • Julien Blaize

    Julien Blaize - 2008-02-26

    Logged In: YES
    user_id=1916839
    Originator: YES

    Hi Dave,

    I work with eclipse and i have build the sources with compiler compliance level 1.4 and generated class file compatibility 1.2, source compatibility 1.3.

    I admit i work with java 1.6 on for our business application but i had no problem retrofitting the source for the 1.4.
    I understand your concern about jre version because as a library you have to be as compatible as possible.

    I have a little problem with the JTreeTable i have done. it's an old version i have not maintened and it's quite buggy. I now use Swingx JXTreeTable in my main application.
    My Question is : is it possible to use it in JFreeChart ?
    it needs to be backported to java 1.4 too but i think i can do it.
    i am not really aware of all the license issue so i will take any advice you have on this point.

    Regards.

    Julien Blaize.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks