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

Feature add relative y axis label values #58

Merged

Conversation

jordanmontt
Copy link
Contributor

Added relative labels for the y axis for RSHistogram.
Pair programmed with @akevalion

For example, let's take this data as an example.

#(0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 2 10 10 10 10).

The number 0 appears 14 times which represents 70% of total occurrences.

In the default histogram, the one in the left, the number 14 appears as the label for the y-axis. When using the relative labels, the number 70 (the percentage) appears instead (the image in the right).

Capture d’écran 2024-03-05 à 16 20 15

@jordanmontt jordanmontt changed the title Feature add relateive y axis data Feature add relateive y axis label values Mar 5, 2024
@jecisc jecisc merged commit 5d00570 into pharo-graphics:master Mar 5, 2024
2 of 5 checks passed
@jordanmontt jordanmontt deleted the feature-add-relateive-y-axis-data branch March 5, 2024 15:26
@jordanmontt jordanmontt changed the title Feature add relateive y axis label values Feature add relative y axis label values Mar 5, 2024
jecisc added a commit to jecisc/pharo that referenced this pull request Mar 11, 2024
## What's Changed
* Reimplement some explicitly required methods to speed up shapes by @jecisc in pharo-graphics/Roassal#54
* Make RSAthensMorph apply the world renderer canvas scale factor by @Rinzwind in pharo-graphics/Roassal#56
* Added .gitignore file and Removed DS_Store file by @jordanmontt in pharo-graphics/Roassal#57
* Feature add relative y axis label values by @jordanmontt in pharo-graphics/Roassal#58

## New Contributors
* @jecisc made their first contribution in pharo-graphics/Roassal#54
* @jordanmontt made their first contribution in pharo-graphics/Roassal#57

**Full Changelog**: pharo-graphics/Roassal@v1.03...v1.06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants