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

Colorful Histograms #3153

Merged
merged 10 commits into from
Nov 18, 2021
Merged

Colorful Histograms #3153

merged 10 commits into from
Nov 18, 2021

Conversation

vitvakatu
Copy link
Contributor

Pull Request Description

Fixed coloring of histograms (now it is applied basing on y-axis, not x-axis) and added color legend to the side of histogram.

Resolves #2940

Before: see screenshot in #2940

After:
Screenshot 2021-11-03 at 1 03 52 PM

Important Notes

The position and size of the color legend might not be ideal. It was choosen because of easier implementation and no need to move other elements of the histogram.
Your suggestions are always welcome.

Checklist

Please include the following checklist in your PR:

  • The documentation has been updated if necessary. (Not necessary)
  • All code conforms to the Scala, Java, and Rust style guides.
  • All documentation and configuration conforms to the markdown and YAML style guides.
  • All code has been tested where possible.

Color of histogram bars was incorrectly calculcated from x-axis value,
not from y-axis as it should. It is fixed now by swapping x with y.

Issue: #2940
A new continuously-colored bar is added to the left of y-axis
to visualize color scheme used by the histogram. The width of the bar is
fixed and always equals to 5 points.

Issue: 2940
@vitvakatu vitvakatu self-assigned this Nov 10, 2021
@vitvakatu vitvakatu mentioned this pull request Nov 10, 2021
4 tasks
@MichaelMauderer
Copy link
Contributor

@vitvakatu Could you resolve the conflicts, and then we get this merged?

@vitvakatu
Copy link
Contributor Author

@MichaelMauderer done, again some weird github issues - merge didn't require conflict resolution

@MichaelMauderer MichaelMauderer merged commit 03c85d7 into develop Nov 18, 2021
@wdanilo wdanilo deleted the wip/ib/colorful-histograms branch March 9, 2022 00:08
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.

Default coloring used in Histogram is misleading and missing an explanation.
3 participants