Hi!

 

I have enclosed below a discussion of the issue we had during 1.5 beta. Hope it helps.

 

BR, Pekka

"Eliot Greenfield" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
>
>
> Pekka --
>
> There are various ways I can think of to set the fill of a bar to 'none'
>
> 1) change its renderer to a SimpleBarRenderer (to get rid of the
> dropshadow)
> and set its fill to:
> <SolidColor alpha="0" />
>
> 2) write your own BarRenderer class that did no drawing. This would
> perform
> better than drawing transparent bars
>
>
> On the other hand, it sounds like what you're trying to do is create a
> gantt
> chart by 'propping up' the bar series with an invisible series to push it
> out far enough, yes?  I would probably approach it differently.  BarSeries
> has a property, 'minField', which, if set, determines where the bar should
> place its left hand side (specifically, it determines what field of the
> dataprovider should be used to place the left hand side of the bars).  If
> I
> were writing a gantt chart, I would write some code that populated my
> dataprovider object with appropriate min values for the bars:
>
> Function makeDataProviderGantt(dp:Array)
> {
> dp[0].minValue = 0;
> for(var i=1;i<dp.length;i++)
> dp[i].minValue = dp[i-1].maxValue;
> }
>
> And then just set the minField of my BarSeries:
>
> <BarSeries yField="maxValue" minField="minValue" />
>
> That should work, and perform better.
>
> Ely.
>
>
>
>> -----Original Message-----
>> From: Pekka Kola [mailto:[EMAIL PROTECTED]]
>> Sent: Thursday, October 21, 2004 5:30 AM
>> To: flex-charts
>> Subject: Re:[flex-charts] Gantt chart
>>
>> Bar graph seems to work quite nicely in my application. I
>> just set the color of the first data serie the same as
>> background. It would however be improved if I could set the
>> color as "no fill" so that odd and even lines looks the same.
>>
>> BR, Pekka
>>
>> "Eliot Greenfield" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]...
>> >
>> >
>> >
>> > Ken -- can you describe the chart in a little more detail?
>> I've heard
>> > a couple of requests for gantt charts, and the specific
>> details tend
>> > to differ from request to request. Depending on how
>> complicated your
>> > request is, flex may or may not be able to do what you're
>> asking for.
>> > Flex 1.5 can do a horizontal floating bar chart out of the
>> box, which
>> > is most of what you need.
>> >
>> > Ely.
>> >
>> >
>> >> -----Original Message-----
>> >> From: Ken Young [mailto:[EMAIL PROTECTED]
>> >> Sent: Tuesday, October 19, 2004 11:08 AM
>> >> To: flex-charts
>> >> Subject: [flex-charts] Gantt chart
>> >>
>> >> Any thoughts on how to create a Gantt chart (either with existing
>> >> Flex 1.5 chart types or external packages)
>> >>
>> >> Thanks
>> >> Ken
>> >> ______________________________________________________________

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Shlomi Cohen
Sent: 11. toukokuuta 2005 13:43
To: 'flexcoders@yahoogroups.com'
Subject: RE: [flexcoders] Gantt chart in flex?

 

 

Hi

 

you can take a look at a simple Gantt from http://www.globfx.com/.

 

if you find anything else , subscribe me on that too please.

 

Shlomi

 

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nithya karthik
Sent: Wednesday, May 11, 2005 11:21
To: flexcoders
Subject: [flexcoders] Gantt chart in flex?

hai,

    I'd like to know if there is any possibility of creating a gantt chart in flex, if yes how?

 

thanks,

nithya


Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________



Yahoo! Groups Links

Reply via email to