On Saturday 06 Sep 2008, Fernando Ghisi wrote:
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_formatting_1
2.html
I can´t agree with you. Just take a look on the styles of
ColumnSeries in
http://livedocs.adobe.com/flex/3/langref/mx/charts/series/ColumnSeries.ht
ml -
--- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED]
wrote:
On Saturday 06 Sep 2008, Fernando Ghisi wrote:
http://livedocs.adobe.com/flex/3/html/help.html?
content=charts_formatting_1
2.html
I can´t agree with you. Just take a look on the styles of
ColumnSeries in
The question here is not if charts uses styles for itemRenderers or
not - it´s fact, it really uses it.
It´s working like this: I created my CustomItemRenderer extending
BoxItemRenderer and I´m setting the series itemRenderers with setStyle
method, like this:
//For each columnSeries
Not arguing with you, but why would you use setStyle instead of:
mx:ColumnSeries id=mySeries
itemRenderer=mx.charts.renderers.CustomtemRenderer/
Does mySeries.items[0] not give you a reference?
-TH
--- In flexcoders@yahoogroups.com, Fernando Ghisi [EMAIL PROTECTED]
wrote:
The question
When you do this in a MXML, I almost sure that it will be transformed
on a setStyle(itemRenderer, ...) in actionscript.
There is no other way of doing this on actionscript.
To apply a renderer to a series in ActionScript, you use the
setStyle() method. In that method, you create a new
Great Fernando. Thanks for the info too. I learned something as well.
-TH
--- In flexcoders@yahoogroups.com, Fernando Ghisi [EMAIL PROTECTED]
wrote:
When you do this in a MXML, I almost sure that it will be transformed
on a setStyle(itemRenderer, ...) in actionscript.
There is no other
--- In flexcoders@yahoogroups.com, Fernando Ghisi
[EMAIL PROTECTED] wrote:
The question here is not if charts uses styles for itemRenderers or
not - it´s fact, it really uses it.
It´s working like this: I created my CustomItemRenderer extending
BoxItemRenderer and I´m setting the series
Yeah, it´s a good link. I will use it now, for the next issues that I
have to solve (legend ones).
Thanks.
2008/9/8 Amy [EMAIL PROTECTED]:
--- In flexcoders@yahoogroups.com, Fernando Ghisi
[EMAIL PROTECTED] wrote:
The question here is not if charts uses styles for itemRenderers or
not -
--- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote:
Assuming chart is a ColumnChart, chart.series[0].items[0] will get
you a
rference to the first ColumnSeriesItem. Charts don't have
itemRenderers
and an itemRenderer is not a style.
They do, and in charting, it is.
--- In flexcoders@yahoogroups.com, Fernando Ghisi [EMAIL PROTECTED]
wrote:
I can´t agree with you. Just take a look on the styles of
ColumnSeries in
http://livedocs.adobe.com/flex/3/langref/mx/charts/series/ColumnSeries.h
tml
- itemRenderer=BoxItemRenderer
I want a reference of the
Good link Amy. Thanks!
-TH
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, Fernando Ghisi
fernandoghisi@
wrote:
I can´t agree with you. Just take a look on the styles of
ColumnSeries in
So, nobody can help me?
2008/9/5 Fernando Ghisi [EMAIL PROTECTED]:
How can I get a reference to a itemRenderer of a chart series?
If I use getStyle method, I´ll get the reference of the ClassFactory
Ex: Series(chart.series[index]).getStyle(itemRenderer)
Looking for any property that I
Assuming chart is a ColumnChart, chart.series[0].items[0] will get you a
rference to the first ColumnSeriesItem. Charts don't have itemRenderers
and an itemRenderer is not a style.
-TH
--- In flexcoders@yahoogroups.com, Fernando Ghisi [EMAIL PROTECTED]
wrote:
So, nobody can help me?
ItemRenders are not part of Style even is not the way we could get a
reference into a render for Charts.
Try this. http://www.flex888.com/699/the-illusive-itemrenderer.html
Maybe will help you to figure out how.
Regards
Igor Costa
www.igorcosta.org
On Fri, Sep 5, 2008 at 9:12 PM, Tim Hoff
I can´t agree with you. Just take a look on the styles of
ColumnSeries in
http://livedocs.adobe.com/flex/3/langref/mx/charts/series/ColumnSeries.html
- itemRenderer=BoxItemRenderer
I want a reference of the SERIES itemRenderer, not the charts one.
2008/9/5 Igor Costa [EMAIL PROTECTED]:
And if you want examples...
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_formatting_12.html
And now, I´m still worng?
2008/9/6 Fernando Ghisi [EMAIL PROTECTED]:
I can´t agree with you. Just take a look on the styles of
ColumnSeries in
16 matches
Mail list logo