Re: [Gnoga-list] Question - destroy widget

2018-02-23 Thread R Srinivasan
This worked. Sortof related - Plotting is somewhat slow. Seems like each segment of the plot is done in a separate roundtrip to the browser. Looking for ideas to make it fast. I will push my example code this weekend if someone can take a look and give some ideas - that will be great. thanks, sr

Re: [Gnoga-list] Question - destroy widget

2018-02-22 Thread R Srinivasan
thanks. will try that. On Thu, Feb 22, 2018 at 11:31 AM, Jeffrey R. Carter wrote: > On 02/22/2018 11:30 AM, R Srinivasan wrote: > > I am creating a way to visualize different curves. when I change say the > > desired curve I want to redraw the curve. If I went from Sin(x) to > > Sin(x)+Cos(x) I

Re: [Gnoga-list] Question - destroy widget

2018-02-22 Thread Jeffrey R. Carter
On 02/22/2018 11:30 AM, R Srinivasan wrote: > I am creating a way to visualize different curves. when I change say the > desired curve I want to redraw the curve. If I went from Sin(x) to > Sin(x)+Cos(x) I want to wipe the canvas clean and then draw the new curve. Does Context_2D.Clear_Rectangle h

[Gnoga-list] Question - destroy widget

2018-02-22 Thread R Srinivasan
trying to understand the equivalent of clearing a widget/view/canvas and recreating a different one in the same space. let me explain: I am creating a way to visualize different curves. when I change say the desired curve I want to redraw the curve. If I went from Sin(x) to Sin(x)+Cos(x) I want t