How to set the color of a column chart item?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to set the color of a column chart item?

Olaf Krueger
Hi,
I'm trying to set the border color of an item of a column chart  [1].
The fill style works like a charm but the color of the border doesn't.

Any ideas?

Thanks,
Olaf

[1]
colSeries = new ColumnSeries;
colSeries.xField = xField;
colSeries.yField = yField;
colSeries.setStyle("fill", solidColor);
colSeries.setStyle("borderColor", 0x000000);
Reply | Threaded
Open this post in threaded view
|

Re: How to set the color of a column chart item?

clintm
i think the style you're looking for is stroke

On Wed, Mar 15, 2017 at 2:39 PM, OK <[hidden email]> wrote:

> Hi,
> I'm trying to set the border color of an item of a column chart  [1].
> The fill style works like a charm but the color of the border doesn't.
>
> Any ideas?
>
> Thanks,
> Olaf
>
> [1]
> colSeries = new ColumnSeries;
> colSeries.xField = xField;
> colSeries.yField = yField;
> colSeries.setStyle("fill", solidColor);
> colSeries.setStyle("borderColor", 0x000000);
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 2333346.n4.nabble.com/How-to-set-the-color-of-a-column-
> chart-item-tp14817.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: How to set the color of a column chart item?

Olaf Krueger
Yesss, that's it [1].

Thank you, Cliff!!

Olaf

[1]
colSeries = new ColumnSeries;
colSeries.xField = xField;
colSeries.yField = yField;
colSeries.setStyle("stroke", new SolidColorStroke(0x000000));
Reply | Threaded
Open this post in threaded view
|

Re: How to set the color of a column chart item?

OmPrakash Muppirala
On Mar 15, 2017 11:14 PM, "OK" <[hidden email]> wrote:

Yesss, that's it [1].

Thank you, Cliff!!


Clint 😊



Olaf

[1]
colSeries = new ColumnSeries;
colSeries.xField = xField;
colSeries.yField = yField;
colSeries.setStyle("stroke", new SolidColorStroke(0x000000));



--
View this message in context: http://apache-flex-users.
2333346.n4.nabble.com/How-to-set-the-color-of-a-column-
chart-item-tp14817p14820.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: How to set the color of a column chart item?

Olaf Krueger
Sorry, Clint!!!