Thanks Tracy , Invertedspear

I was working your ideas yesterdays,the only thing which I could not figure out 
is calculation part which would tell how much resizing need to be done.In case 
of other chart  it is easy to find out values of the points where the mouse is  
pointing but in case of pie chart it does work.

Lets see ,  how i can figure out this.. i will keep you posted

- Dharmendra



--- In [email protected], "invertedspear" <invertedsp...@...> wrote:
>
> I don't see why you couldn't do this. You would have to use some custom mouse 
> events that would change the data in your data provider. Not sure of the 
> details but the process would go something like: 
> 
> onMouseDown: figure out which pie slice(and which item in the dataprovider) 
> to change
> 
> onmousemove: calculate the change in mouse position and figure out what it 
> would equate to, change dataprovider (which should also immediately change 
> graph
> 
> onmouseup: cancel onmousemove
> 
> Alternatively you could have them click on the pie slice and then adjust a 
> slider, I think it would work better.
> 
> 
> --- In [email protected], "Dharmendra" <chauhan.icse@> wrote:
> >
> > Hello All, 
> > Is it possible to create a pie chart with re-sizable slice.. ie user should 
> > be able to decrease  and increase  the area of any slice by just using 
> > mouse drag. If I increase area of any particular slice, other adjacent 
> > slice should automatically get reduced.  Please provide me some pointers on 
> > this .
> > 
> > Regards,
> > Dharmendra
> >
>


Reply via email to