zlkevinet / charts4j

Automatically exported from code.google.com/p/charts4j
Other
0 stars 0 forks source link

Make some interfaces public to better work with Java reflection. #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Make some interfaces public to better work with Java reflection. In
particular, see PlotImpl.

Original issue reported on code.google.com by Julien.C...@gmail.com on 2 Dec 2008 at 11:21

GoogleCodeExporter commented 9 years ago
I believe this is the reason I'm also seeing this error when trying to 

Message: java.lang.IllegalAccessError: tried to access class   
com.googlecode.charts4j.Curve from class ...

I'm getting this when calling setFillAreaColor() on a Line using Scala. It 
occurs for various other methods too so it's fairly major. As a workaround I 
had to create a helper object in the com.googlecode.charts4j package.

Original comment by owen@fraser-green.com on 10 Mar 2011 at 2:20

GoogleCodeExporter commented 9 years ago
I'm in the process of creating scala versions of the samples, right now they're 
in https://github.com/langley/hackqd 

I believe that every line is marked with the comment:
/* Line below has runtime error... perhaps from 
https://issues.scala-lang.org/browse/SI-1806  */

Is related to this. Although it's a limitation of scala it limits the 
accessibility of this library which is most unfortunate. 

I may consider contributing fixes after I finish up the examples in hackqd as a 
way of identifying the areas that need to the helpers described by the previous 
commentor. 

Original comment by dige...@gmail.com on 9 Jan 2012 at 12:40

GoogleCodeExporter commented 9 years ago
I forked https://github.com/julienchastang/charts4j,to 
https://github.com/langley/charts4j, updated LinePlot and Curve and then sent a 
pull request. 

Original comment by dige...@gmail.com on 12 Jan 2012 at 1:38

GoogleCodeExporter commented 9 years ago
Accepted some of John's changes via github. Are there more that interfaces that 
need to be made public?

Original comment by Julien.C...@gmail.com on 13 Jan 2012 at 5:24