Roassal3 icon indicating copy to clipboard operation
Roassal3 copied to clipboard

Make it possible to remove the spine from RSChart

Open olekscode opened this issue 2 years ago • 1 comments

Example:

x := -10.0 to: 20.0 count: 100.

chart := RSChart new
    add: (RSScatterPlot new x: x y: (x raisedTo: 3));
    add: (RSLinePlot new x: x y: (x raisedTo: 2));
    removeAxisLines;
    yourself.

Expected result (something like this): image

x := -10.0 to: 20.0 count: 100.

chart := RSChart new
    add: (RSScatterPlot new x: x y: (x raisedTo: 3));
    add: (RSLinePlot new x: x y: (x raisedTo: 2));
    removeTopAxisLine;
    removeRightAxisLine;
    yourself.

Expected result: image

x := -10.0 to: 20.0 count: 100.

chart := RSChart new
    add: (RSScatterPlot new x: x y: (x raisedTo: 3));
    add: (RSLinePlot new x: x y: (x raisedTo: 2));
    removeTopAxisLine;
    removeLeftAxisLine;
    yourself.

image

olekscode avatar Jun 02 '23 12:06 olekscode

moved to pharo-graphics/Roassal

akevalion avatar Nov 10 '23 14:11 akevalion