Skip to content

Conversation

@artshooter
Copy link

Summary

This PR implements the customization features for RadarChart as discussed in #2002.

Note: This is a follow-up to PR #2007. The previous PR was submitted from the GitHub account artsooter, which is no longer available.
I've created this new PR with a fresh account to implement the feedback.

Changes

  1. maxValue parameter: Allows setting a custom maximum value for the RadarChart instead of auto-calculating from data.

  2. checkToShowTick callback: Implemented as suggested in the review. This function determines which ticks should be displayed by receiving the tick
    index, and list of all ticks. Returns a boolean to control visibility. Default behavior shows all ticks except the last one.

  3. Documentation: Added descriptions for both parameters to radar_chart.md.

Documentation

PropName Description default value
maxValue Defines a custom maximum value for the [RadarChart]. If provided, this value will be used instead of the automatically calculated maximum from the data. null
checkToShowTick Determines which ticks should be displayed on the [RadarChart]. By default, shows all ticks except the last one. showTickWithoutLast

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.

1 participant