If I set up a chart and show it, then modify it and show it again, there are 2 windows. If I modify the canvas in one of them, like I zoom in, it modifies the other as well. Also the 2 versions of the chart are superposed.
arr := {-1. 0. 1. 4. 6. 7}.
chart := RSChart new.
chart horizontalTick locator: (RSFixedLocator new ticks: arr).
x := 0 to: 6 by: 0.1.
y := x sin.
chart addPlot: (RSLinePlot new x: x y: y).
chart show.
arr2 := { 2. 3. 5 }.
chart horizontalTick locator ticks: arr2.
chart show
To my mind, there should either be:
one window, and it should show only the lastest version of the chart
two windows, with both showing their respective version of the chart
If I set up a chart and show it, then modify it and show it again, there are 2 windows. If I modify the canvas in one of them, like I zoom in, it modifies the other as well. Also the 2 versions of the chart are superposed.
To my mind, there should either be: