dragging the chart’s data points and the whole series

suppose you have a chart with a line series that represents some data and thresholds OK/Warning.
now what if the whole data in the chart is to be changed by the user.
of course you can supply her with some DataGrid to reflect the data and make the cells editable, then reflect the edited data back to the chart.

but we are talking Flex here.
wouldn’t it be so much cooler and usable if she can just drag the data around on the chart?!

this was pretty easy to achieve.

the whole line series (black) can be dragged up/down along the Y axis.
each data point on both area series (OK/Warning thresholds) can be dragged.
on the DataGrid you can see the data reflected from the chart in real-time.

Demo is here (right click for source)
Source is here

2 Responses to “dragging the chart’s data points and the whole series”

  1. Web 2.0 Announcer Says:

    dragging the chart’s data points and the whole series…

    [...]suppose you have a chart with a line series that represents some data and thresholds OK/Warning.
    now what if the whole data in the chart is to be changed by the user.
    of course you can supply her with some DataGrid to reflect t…

  2. nanbarla Says:

    Hey man thanks a bunch for this, it was awesome, absolutley loved it.

Leave a Reply