way to mess with how BarSeries is rendered but I'm stuck...
I decided today would be a learning day and I'm tinkering with the
idea of making a Gantt Chart. So I thought I'd start with a BarChart
and have a custom GanttSeries which extends BarChart. I know exactly
what I want to do, but stumped on how to fit it into the Flex
framework....I've only messed with custom components and renderers to
this point so this is a big leap it seems to make a custom Chart. Good
time to learn right? :)
-Should I make a custom chart that extends BarChart or a custom series
that extends BarSeries? What about extending CartesianChart?
-Whats the implications and restrictions I'll get into to choosing one of those?
-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?
-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.
Rescue me Ely the Chart Guru! :) There needs to be an example of
extending a chart or customizing a chart/series....looking through the
docs, there's a lot out there for components and renderers, but little
for chart/series. Maybe it's too rough a realm for documentation? :)
On 5/1/06, Jonathan Miranda <[EMAIL PROTECTED]> wrote:
> Well I'm a step ahead now with your line of code, as dumb as it
> seems....I was overkilling it and had every function declared in
> BarSeries and was implementing the same classes as BarSeries does.....
>
> Overthinking on a Monday :)
>
> Now to try and customize the updateDisplayList....
>
> On 5/1/06, Ely Greenfield <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi Jonathan. That's a tough question to answer without more information.
> > Otherwise, this would answer your question:
> >
> >
> > Public class MyBarSeries extends BarSeries {
> >
> > }
> >
> >
> > Which clearly isn't very helpful ;)
> >
> > Can you give more information on what you're trying to do? More
> > information on the errors you're getting? What does the line of code
> > look like where the error is reported?
> >
> > Ely.
> >
> > -----Original Message-----
> > From: [email protected] [mailto:[EMAIL PROTECTED] On
> > Behalf Of Jonathan Miranda
> > Sent: Monday, May 01, 2006 9:13 AM
> > To: [email protected]
> > Subject: [flexcoders] Custom Chart Series
> >
> > Banging my head against the wall on this one and I can't figure out how
> > I'm doing this wrong.....I want to try and make a custom series that
> > extends BarSeries but no matter what I try I'm hitting all kinds of
> > warning/errors, most stating "Attempted access of inaccessible method
> > 'validateTransform' through a reference with static type
> > mx.chart.series:BarSeries".
> >
> > Anyone want to just write a mock-up structure of what a custom BarSeries
> > would look like? Even Psuedo code would work.
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives:
> > http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > Flexcoders Mailing List
> > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
>
--
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.

