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
Set maximum value in radar chart #32
Comments
any solution for this? |
In order to customize the chart, you need to implement the series component. This is how I have done it in the past:
I would be open to accepting a PR to set the min/max similar to what I allowed for the
Which is implemented like this: https://github.com/reaviz/reaviz/blob/master/src/LinearGauge/LinearGauge.tsx#L72. That code would be implemented somewhere in here: https://github.com/reaviz/reaviz/blob/master/src/RadialAreaChart/RadialAreaChart.tsx#L59 |
Thx for the reply @amcdnl |
I use this library for my react project. I need a radar chart. When I implement it, It displays the maximum value in my data as the last limit in the graph.
For example in this chart, my maximum value is 2. and the end of the chart is 2. but I want to set a default value as 5. Five circular lines I mean.
For another example my values is 3,2,4 out of 5 so I want to show chart max value is 5.
my code:
The text was updated successfully, but these errors were encountered: