mengding / jofc2

Automatically exported from code.google.com/p/jofc2
GNU Lesser General Public License v3.0
0 stars 0 forks source link

The dot-type is not implemented for scatter line #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This cause the dot is not shown for scatter line with the current OFC swf.

See: http://www.ofc2dz.com/OFC2/documentation/JSON%20-%20ScatterLine.html
for the new dot-type property.

Original issue reported on code.google.com by lib...@gmail.com on 26 May 2009 at 4:38

GoogleCodeExporter commented 9 years ago
quick fix will be highly appreciated! :-)

Original comment by lib...@gmail.com on 26 May 2009 at 4:40

GoogleCodeExporter commented 9 years ago
Getting same issue.  Actually, I can see the dots when I roll over the chart 
and the
tooltips appear.  Comparing the JSON output that jofc2 generates to the JSON on 
the
OFC site
(http://teethgrinder.co.uk/open-flash-chart-2/gallery/scatter-line-chart.php) I
notice that jofc2 isn't setting the width property... which I'm guessing is 
what's
causing the line to not render.  Thanks all!

Original comment by reg...@gmail.com on 2 Jun 2009 at 11:34

GoogleCodeExporter commented 9 years ago
There were 2 issues in code that contribute to this problem. The defaults for 
the
dot-styles on line charts were set inconsistently, and with no dot-style 
specified in
the JSON, the DZ-Ichor SWF would not render the dots. I changed the code to 
default
to a reasonable 2 pxl solid dot format. 

There was also a problem with the point converter specified, which I think was a
typo. That change has been committed as well. 

Open issues with dot-styles in line charts:

1. The Style.DOT type will result in a null type, as it is not implemented in 
the
constructor list. Don't use this type. 

2. The defaults are still not entirely consistent, so I recommend specifying as 
much
of your dot-style parameters as you can to ensure predictable behavior. 

Original comment by gmo...@pentaho.com on 18 Jun 2009 at 2:58