Add Feature to Display Scores Beside Polygon Points in RadarChart #120
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request: Add Feature to Display Scores Beside Polygon Points in RadarChart
This PR introduces a new feature to enhance the RadarChart by displaying scores beside the polygon points.
Scores are rendered above the points in the upper half of the graph and below the points in the lower half, depending on their position.
The visibility of the scores can be controlled through a boolean variable named showScores, allowing users to toggle this feature as needed.
This enhancement aims to improve the visual clarity of the chart by presenting scores more effectively. This feature arises from a personal need to better visualize the data, particularly in an educational context where scores range from 1 to 10. I believe this addition will be beneficial for better visualizing data in such settings.
In my opinion, this PR makes the most sense when paired with the second PR (submitted separately), which allows scalar values to be deactivated. An alternative option would be to automatically disable scalar values when scores are enabled, for a cleaner visual presentation.
A potential improvement could involve calculating the score positions dynamically to avoid overlap when two scores occupy the same space; however, this approach would add considerable complexity to the code.
I remain attentive to any suggestions, questions, or comments you may have!