<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Changing default line colors in a Flex LineChart control</title>
	<atom:link href="http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: hIUG</title>
		<link>http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/comment-page-1/#comment-10228</link>
		<dc:creator>hIUG</dc:creator>
		<pubDate>Thu, 08 Dec 2011 06:35:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/#comment-10228</guid>
		<description>thanks dude, still usefull</description>
		<content:encoded><![CDATA[<p>thanks dude, still usefull</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: krunal</title>
		<link>http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/comment-page-1/#comment-7294</link>
		<dc:creator>krunal</dc:creator>
		<pubDate>Thu, 18 Mar 2010 12:51:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/#comment-7294</guid>
		<description>is it possible to have single line have multicolor.  like i have break event point. and after that break point my chart line color will differ.</description>
		<content:encoded><![CDATA[<p>is it possible to have single line have multicolor.  like i have break event point. and after that break point my chart line color will differ.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pankaj</title>
		<link>http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/comment-page-1/#comment-5391</link>
		<dc:creator>pankaj</dc:creator>
		<pubDate>Thu, 27 Aug 2009 05:23:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/#comment-5391</guid>
		<description>How do I do this using actionScript 3 for  barchart.
Help me please.</description>
		<content:encoded><![CDATA[<p>How do I do this using actionScript 3 for  barchart.<br />
Help me please.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Lenoir</title>
		<link>http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/comment-page-1/#comment-1859</link>
		<dc:creator>Simon Lenoir</dc:creator>
		<pubDate>Mon, 04 May 2009 06:13:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/#comment-1859</guid>
		<description>you can define stroke with css, but can&#039;t initiate a stroke object in css.
= can&#039;t use css in this case because lineseries is expecting a stroke object

for a columnchart you can use:
ColumnChart{
	chartSeriesStyles: Series1, Series2, Series3, Series4, Series5;
}
.Series1 {fill: #XXXXX;}
.Series2 {fill: #SSSSS;}
...

but for a linechart you will have to use a work around like a loop in an array of color:uint</description>
		<content:encoded><![CDATA[<p>you can define stroke with css, but can&#8217;t initiate a stroke object in css.<br />
= can&#8217;t use css in this case because lineseries is expecting a stroke object</p>
<p>for a columnchart you can use:<br />
ColumnChart{<br />
	chartSeriesStyles: Series1, Series2, Series3, Series4, Series5;<br />
}<br />
.Series1 {fill: #XXXXX;}<br />
.Series2 {fill: #SSSSS;}<br />
&#8230;</p>
<p>but for a linechart you will have to use a work around like a loop in an array of color:uint</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mikeyq6</title>
		<link>http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/comment-page-1/#comment-1860</link>
		<dc:creator>mikeyq6</dc:creator>
		<pubDate>Fri, 20 Mar 2009 11:10:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/#comment-1860</guid>
		<description>How do you do this using CSS? I have a bar chart and a line chart, and using the fill style, can change the bar chart columns, but not the line chart colours, like:

&lt;code&gt;
.line0 {
	fill: #fad31e;
}
&lt;/code&gt;

And creating the lineseries dynamically, using:
&lt;code&gt;
ls = new LineSeries();
ls.id = &quot;Series&quot; + i;
ls.displayName = currentLabels[i];
ls.dataProvider = currentChartData[i];
ls.xField = &quot;year&quot;;
ls.yField = &quot;value&quot;;
ls.styleName = &quot;.line&quot; + i;
&lt;/code&gt;

But the fill doesn&#039;t seem to do anything. How do you set a stroke in CSS?</description>
		<content:encoded><![CDATA[<p>How do you do this using CSS? I have a bar chart and a line chart, and using the fill style, can change the bar chart columns, but not the line chart colours, like:</p>
<p><code><br />
.line0 {<br />
	fill: #fad31e;<br />
}<br />
</code></p>
<p>And creating the lineseries dynamically, using:<br />
<code><br />
ls = new LineSeries();<br />
ls.id = "Series" + i;<br />
ls.displayName = currentLabels[i];<br />
ls.dataProvider = currentChartData[i];<br />
ls.xField = "year";<br />
ls.yField = "value";<br />
ls.styleName = ".line" + i;<br />
</code></p>
<p>But the fill doesn&#8217;t seem to do anything. How do you set a stroke in CSS?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaRk6</title>
		<link>http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/comment-page-1/#comment-1858</link>
		<dc:creator>DaRk6</dc:creator>
		<pubDate>Tue, 18 Dec 2007 19:49:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/13/changing-default-line-colors-in-a-flex-linechart-control/#comment-1858</guid>
		<description>Thank You!!</description>
		<content:encoded><![CDATA[<p>Thank You!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

