You can also explicitly define the start and end points of each axis,
then when the data comes in check it against your max/mins and fire
off events accordingly. If you use binding, you can keep all 4 charts
to the same axis using the one filter function, or even just bind one
to the others to keep them in sync.

See: http://livedocs.adobe.com/flex/201/langref/mx/charts/LinearAxis.html

Hope that helps,
-- William

--- In [email protected], "bloodylag" <[EMAIL PROTECTED]> wrote:
>
> Hi peeps,
> 
> I have 4 flex charts all getting random data dynamically added through
> a java applet. This is all working fine, the problem is I want a
> unified x-axis for all of them. The way I see to do it is to add null
> values to all graphs (except the one that gets added) whenever 1
> sample comes in.
> 
> A work mate noticed that when the data fills up to the end of the
> graph, flex condenses the x-axis to supply more room for data. Is an
> event fired off on that? The theory being I could fill in the rest of
> the charts with null values if one chart reaches the end.
> 
> 
> Cheers
>


Reply via email to