Let's see....
-Should I make a custom chart that extends BarChart or a custom series
that extends BarSeries? What about extending CartesianChart?
Probably you want a custom series, that either extends BarSeries or
starts from scratch. The Chart classes generally act as a coordinating
container, but doesn't know much about what data is rendered or how it's
rendererd. That's the series' job.
-Whats the implications and restrictions I'll get into to choosing one
of those?
See above.
-How would I get access to other varibales and how should I deal with
those (I need more than just one value) - should the "data" be an Object
with values?
The way the charts generally deal with this is by assuming that the
items in the dataprovider are objects, and allowing the developer to
assign 'xxxField' properties to tell the series what property to find a
given value in. i.e., BarSeries defines xField, minField, and maxField.
BubbleSeries defines xField, yField, and seriesField. If you need
additional information, I'd suggest adding new properties like this.
-If I'm extending a series, how do I get access to the values in the
extended parent? An example would be in BarSeries where it sets the
_instanceCache - if I do a super(); to run that, is there anyway I can
access that data? I found a messy way of changing how updateDisplayList
runs but I'm not sure I'm doing it correctly because I had to redo all
what the BarSeries was doing.....maybe just do a graphics.clear and do
your own thing? I'm guessing that's wrong.
If the variable is private, it can't be accessed.
Again, if you can give me specifics on what you're trying to do, I can
help you figure out how to do it.
Ely.
--
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
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

