You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. <mc:MicroAreaChart dataProvider="{acMC}" height="100%" width="100%"
color="0x66CCFF" />
2.
3.
What is the expected output? What do you see instead?
The color of the area chart should change to 0x66CCFF, however, it stayed
black.
What version of the product are you using? On what operating system?
I downloaded the source on 12/05/2008, and created a swc using FB3.
Please provide any additional information below.
I also tried the following, none worked:
1. colors="{ new Array( '0x66CCFF' ) }"
2. fills="{ new Array( new SolidFill( 0x66CCFF, 0.3 ) ) }"
I think there's a bug in MicroAreaChart.as Line 106. My proposed change:
if( colors != null || !isNaN( color ) )
For some reason, I can't debug into useColor(Number) in BasicMacroChart.
The return value of useColor seems to be null all the time (for me).
Original issue reported on code.google.com by minnm...@gmail.com on 6 Dec 2008 at 6:12
The text was updated successfully, but these errors were encountered:
It's fixed now.
If you use color for the following charts it will work:
MicroArea, MicroColumn, MicroPlot, MicroLine, MicroBar, MicroWinLoose.
Given the different nature of the other charts (Pie, 100Bar, BulletGraph) they
should not be used with a single color.
The array colors should only be used to differentiate each data element of the
chart, and therefore you should provide at least the same number of colors than
the
number of data elements you have in the chart. If you only need to set a single
color, than simply use the color property, which works well now.
Thanks for reporting this issue.
Original comment by f4us...@gmail.com on 12 Dec 2008 at 10:40
Original issue reported on code.google.com by
minnm...@gmail.com
on 6 Dec 2008 at 6:12The text was updated successfully, but these errors were encountered: