HarryShu / charts4j

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

Venn Diagram constructor parameters are in incorrect order #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Instantiate a Venn diagram according to the documentation
2.
3.

the constructor reads:
GCharts.newVennDiagrams():

public static VennDiagram newVennDiagram(double circle1Size,
                                         double circle2Size,
                                         double circle3Size,
                                         double abIntersect,
                                         double bcIntersect,
                                         double caIntersect,
                                         double abcIntersect)

I am not getting the expected behavior when I use the function as 
documented above (from javadoc).  Instead, I notice that calling the 
function with the parameters slightly reordered, as follows, shows me the 
venn diagrams I want and expect:

public static VennDiagram newVennDiagram(double circle1Size,
                                         double circle2Size,
                                         double circle3Size,
                                         double abIntersect,
                                         double caIntersect,
                                         double bcIntersect,
                                         double abcIntersect)

Original issue reported on code.google.com by ramo...@gmail.com on 4 Mar 2010 at 8:02

GoogleCodeExporter commented 8 years ago
Done.

Original comment by Julien.C...@gmail.com on 7 Jan 2011 at 4:27