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 [email protected] <flexcoders%40yahoogroups.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

Reply via email to