You can't specify just part of a stroke (this is a long standing request
in MXML...be able to specify properties on aggregated objects without
replacing the aggregated object). But the default colors are specified
in mx.charts.styles.HaloDefaults:
0xE48701
,0xA5BC4E
,0x1B95D9
,0xCACA9E
,0x6693B0
,0xF05E27
,0x86D1E4
,0xE4F9A0
,0xFFD512
,0x75B000
,0x0662B0
,0xEDE8C6
,0xCC3300
,0xD1DFE7
,0x52D4CA
,0xC5E05D
,0xE7C174
,0xFFF797
,0xC5F68F
,0xBDF1E6
,0x9E987D
,0xEB988D
,0x91C9E5
,0x93DC4A
,0xFFB900
,0x9EBBCD
,0x009797
,0x0DB2C2
And used one at a time, in order. So you can just respecfiy the same
color, if you like.
Ely.
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of superabe superabe
Sent: Friday, September 07, 2007 5:31 AM
To: [email protected]
Subject: [flexcoders] LineSeries Stroke color
This feels like a really simple thing, but I am new to using the charts
so having trouble figuring this out (using Flex 3 beta)
I have a LineChart with a few LineSeries in them. I want to change the
weight of the stroke of the all the LineSeries to be thinner, yet I want
to use the default colors assigned to them.
When I try to create a stroke as per the docs and specify a weight, it
seems to override the default color assigned by the chart
e.g(pesudo-code)
<LineSeries>
<Stroke weight="2"/>
</LineSeries>
When I do the above it overrides the default color of the stroke. What I
want to do is keep the colors as per the default, and just change the
weight.
I was hoping for a simple property called "weight" on the LineSeries,
but could not find it.
Any help would be appreciated.
TIA
-superabe
<<image001.jpg>>
<<image002.jpg>>

