Page 1 of 1

wxFreeChart Updates

Posted: Mon Jan 19, 2015 6:55 pm
by iwbnwif
Hello, I have decided to do some work on wxFreeChart.

As a starting point have been making some tidy ups to allow the code to build error free. At the moment I am working on Linux and the current trunk of wxWidgets.

I would like to ask if anyone else is working on this code and whether there is any interest in me sharing my changes?

Re: wxFreeChart Updates

Posted: Sat Feb 07, 2015 9:34 pm
by evstevemd
Putting changes in github or somehwere else have benefit of attracting users/devs

Re: wxFreeChart Updates

Posted: Sun Feb 08, 2015 3:08 pm
by PB
I was wondering about two things:
1. Is the original author of the code (MAB) still available somewhat and if so what did he say about wxFreeChart future?
2. Are the bugs I described fixed in the code you have?

Re: wxFreeChart Updates

Posted: Sun Mar 15, 2015 12:32 pm
by jaxsin
I'd be interested in helping with this on the windows side under vs2013.

Send me a PM on here if you or anyone else is interested in doing this. The first thing we need done is to get this under GIT instead of SVN. Somewhere on these forums I read the owner of freechart had no intentions of updating this to wxWidgets 3.0. Would be nice to have one charting library up to date and working.

Re: wxFreeChart Updates

Posted: Sun Mar 15, 2015 9:46 pm
by iwbnwif

Thanks to everyone for the replies.

I have only used Git once so if you know how to set this up that would be a good start. I would be interested to follow along and learn.

At the moment I have a version that compiles cleanly (no errors or warnings) on Linux and Windows/Mingw with the latest trunk of wxWidgets. I have also played around a bit with the XY area plots to get an effect similar to Windows TaskManager graphs.

Mostly the library has the functionality I need so my main interests are in:
  • Improving the presentation options, colors, shading, alpha/transparency, fonts, curve smoothing, anti-aliasing etc.
  • Improving the documentation
  • Improving the performance to allow for real time plots

Re: wxFreeChart Updates

Posted: Mon Mar 16, 2015 10:47 am
by jaxsin

I pulled it into github and you can clone the repo. If you want go ahead and setup git in an empty directory on your PC and do a git pull request. Then you can go ahead and apply your code changes. Then you can set up a merge request and we can start from there.

I am not that great with Git, but I can get around. Basic tutorial should get you going with git

create an empty dir. then run git clone from inside the new dir and you should be good to go to make your changes on the code. Let me know

Re: wxFreeChart Updates

Posted: Mon Mar 16, 2015 4:38 pm
by jaxsin
PB wrote:I was wondering about two things:
2. Are the bugs I described fixed in the code you have?

from what I can tell, the axis labels are still not centered on the chart, but rather seem to be centered to the wxFrame size. The other bugs you posted seem to be fixed. Can you post your code that fixed the labels?

Re: wxFreeChart Updates

Posted: Fri Apr 03, 2015 11:11 am
by jaxsin
Well I managed to fix the axis labels so they center on the chart. I still have not managed to fix the combined axis demo. I'm afraid I do not understand enough about the code to implement a proper fix. As each plot is a separate object I don't know how to properly tell the other plot objects to use the largest minimum labelextent for all plots in a multiplot object.

If anyone has any bright ideas on how this can be done, let me know so I can look into it.