Hi Mike,

It sounds to me as though you are wanting to producing what is
essentially a specialisation of a line series.  Would it perhaps make
sense to extend the line series class so that it draws the wedge area?
 That way you wouldn't have to use what seems like a hacky approach.

Graham

P.S. "its an interesting feature that lines are only rendered when
both ends are within the xy ordinates of the axes" can be solved by
setting the filterData property of the series to false.  But there is
some bugginess that results from doing that, so only do it if it's
really necessary.


--- In [email protected], "mcoulten" <[EMAIL PROTECTED]> wrote:
>
> Hello Flex Coders!!
> 
> I have just joined the group as I've got stuck on this Flex charting
> problem. 
> 
> I need to plot a line that ends with a wedge shaped area - looking
> like a broom on its side, brush to the right, and then plot some
> dashed lines across the same chart.
> 
> The minField property doesnt seem to work on a DateTimeAxis (requires
> a category) so that was no good.
> 
> Using a stacked area chart did work and by setting the series I wanted
> to appear as a just a line with an area but no fill and then setting
> the y axis minimum to >0 so the line didnt plot from the last non zero
> data point to the x axis worked OK (its an interesting feature that
> lines are only rendered when both ends are within the xy ordinates of
> the axes).
> 
> But then when I tried to add a non stacked line the compiler could not
> resolve the stacked and unstacked series together.  I tried defining
> them as a secondseries group tag on a 2y axis as well.  No joy.
> 
> On looking into stacking classes these are all topped with warnings
> that they are not for normal use.
> 
> Anyone got a good idea on how to get my lines plotting unstacked but
> over the top of some stacked areas?
> 
> Thanks
> 
> Mike
>


Reply via email to