Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make it possible to remove the spine from RSChart #541

Open
olekscode opened this issue Jun 2, 2023 · 1 comment
Open

Make it possible to remove the spine from RSChart #541

olekscode opened this issue Jun 2, 2023 · 1 comment
Labels

Comments

@olekscode
Copy link
Contributor

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

@akevalion akevalion added the chart label Jun 2, 2023
@akevalion
Copy link
Contributor

moved to pharo-graphics/Roassal

@akevalion akevalion reopened this Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants