Re: [flexcoders] Re: Superimposing chart.

2007-05-30 Thread Brendan Meutzner

http://demo.quietlyscheming.com/dashes/index.html

Ely's got a load of great charting (and other) examples on his site
http://www.quietlyscheming.com...


Brendan


On 5/29/07, ivansebastiansurya <[EMAIL PROTECTED]> wrote:


  Hi everyone,

I managed to do it just by adding a Line Series to the Area Chart.
Thanks for those who've helped me.
Next thing is, I need to draw the line graph as a dotted line.
Can this be done? I.e. specify the style of the line chart to make it
draw dotted line instead of a solid line?
Many Thanks,

Ivan.

--- In flexcoders@yahoogroups.com , "Ely
Greenfield" <[EMAIL PROTECTED]>
wrote:
>
>
>
>
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
> 
>
>
>
>
>
> From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com ] On
> Behalf Of Sandeep Malik
> Sent: Tuesday, May 29, 2007 12:14 PM
> To: flexcoders@yahoogroups.com 
> Subject: [flexcoders] Re: Superimposing chart.
>
>
>
> Not sure, but try to use one of the following:
> 1. Use "annotationElements" of area chart and put line series as
> annotation element.
>
> 2. Use "backgroundElements" of line series and put area chart as
> background element.
>
> PS: Suggestion 2 might interfere with the grid lines of line series.
>
> Regards,
> Sandeep
>
> --- In flexcoders@yahoogroups.com 
40yahoogroups.com>
> , "ivansebastiansurya"
>  wrote:
> >
> > Hi everyone,
> >
> > Is it possible to have two area series, stacked on top of each
> other,
> > superimposed (overlaid) to a line series? The idea is to have the
> area
> > chart stacked and the line series appear in front of the stacked
> area
> > chart.
> > Thanks,
> >
> > Ivan.
> >
>

 





--
Brendan Meutzner
Stretch Media - RIA Adobe Flex Development
[EMAIL PROTECTED]
http://www.stretchmedia.ca


RE: [flexcoders] Re: Superimposing chart.

2007-05-29 Thread Ely Greenfield
 

 



   

   

   

   



  



   

 

   

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Sandeep Malik
Sent: Tuesday, May 29, 2007 12:14 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Superimposing chart.

 

Not sure, but try to use one of the following:
1. Use "annotationElements" of area chart and put line series as 
annotation element.

2. Use "backgroundElements" of line series and put area chart as 
background element.

PS: Suggestion 2 might interfere with the grid lines of line series.

Regards,
Sandeep

--- In flexcoders@yahoogroups.com 
, "ivansebastiansurya" 
<[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
> 
> Is it possible to have two area series, stacked on top of each 
other, 
> superimposed (overlaid) to a line series? The idea is to have the 
area 
> chart stacked and the line series appear in front of the stacked 
area 
> chart.
> Thanks,
> 
> Ivan.
>

 

<><>

Re: [flexcoders] Re: Superimposing chart.

2007-05-29 Thread Brendan Meutzner

If you're talking about series data that is using the same axis values, you
can just add multiple AreaSeries and LineSeries elements to a single
CartesianChart instance.  If the LineSeries uses a different scale, just add
it to the secondVerticalAxis instance using the secondDataProvider as it's
value set.  Just make sure that you create your AreaSeries before the
LineSeries and the Line should overlay the Area instances... Unless there's
something here I'm missing...


Brendan


On 5/29/07, Sandeep Malik <[EMAIL PROTECTED]> wrote:


  Not sure, but try to use one of the following:
1. Use "annotationElements" of area chart and put line series as
annotation element.

2. Use "backgroundElements" of line series and put area chart as
background element.

PS: Suggestion 2 might interfere with the grid lines of line series.

Regards,
Sandeep

--- In flexcoders@yahoogroups.com ,
"ivansebastiansurya"
<[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> Is it possible to have two area series, stacked on top of each
other,
> superimposed (overlaid) to a line series? The idea is to have the
area
> chart stacked and the line series appear in front of the stacked
area
> chart.
> Thanks,
>
> Ivan.
>

 





--
Brendan Meutzner
Stretch Media - RIA Adobe Flex Development
[EMAIL PROTECTED]
http://www.stretchmedia.ca