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

Fixes and new features for YPane #107

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

realspinner
Copy link

@realspinner realspinner commented Mar 19, 2023

Hi, I tried to use RadarChart in a project and faced some problems with scaling, positioning of labels etc. The main problem was the non-configurable offset and turning the plot inside-out when datapoints fell below low Y-bound. I fixed it, here are the changes.

  1. Offset is now a property, it can be changed or disabled by setting to 0.0
  2. Overlay rendering fixed, it can be used to estimate values now.
  3. Mid-point label added for easier estimation of plotted values.
  4. All values below the low bound limit are "grounded" to zero now, the plot is not turning inside-out.
  5. Origin of the RadarChart, i.e. ray for data point with zero index now can be rotated to an arbitrary angle. It is helpful when the chart must be drawn upside-down for example. A new property, originAngle has been introduced.

1) Offset is now a property, it can be changed or disabled by setting to 0.0
2) Overlay rendering fixed, it can be used to estimate values now.
3) Mid-point label added for easier estimation of plotted values.
4) All values below low bound limit are "grounded" to zero now, the plot is not turning inside-out.
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.

2 participants