|
Hello all, I am having some difficulty creating a custom
Chart renderer for a Column Chart, and I was hoping someone could point me in
the right direction. What I’m trying to accomplish: Column chart where if
a value being charted is less than 0, than display the column in red, else in
blue. What I’ve tried: In AS, created a class which extends
the SimpleBoxRenderer class and well, my first stab, which I cant attempt, is
to override the beginDraw method, and inspect which value in there is the
actual value being charted. From there, I can set the Stroke color. I’m
not sure if this will work or not, but if its not this method, than it’s
the draw method. However, the problem arises when I try to subclass that
class itself. When I try to create the class, I try to import that parent
(mx.charts.renderers.SimpleBoxRenderer), but it cannot find it. FlexBuilder
defines every other package, except for that one, so I’m wondering if
there is some kind of configuration issue at hand. It seems that every package
I check for is there, except for that one. Any suggestions? Thanks for your time and consideration Nick -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|

