chartjs/Chart.js

Max outer limit for polar area chart

Gouvernathor opened this issue · 1 comments

Documentation Is:

  • Missing or needed?
  • Confusing
  • Not sure?

Please Explain in Detail...

The ability for the biggest area not to be full, so to set a manual max value that isn't that. For instance when I show percentages, if nobody reaches 100% then I don't want the biggest to appear full.
I saw an example of that which involved passing

scales: {
    r: {
        max: total,
    },
},

to the Chart options (test pending), but I saw nothing close to that on the Polar Area page.
I saw relevant info in the Axes section (after using the search feature of the doc for "scales"), but nothing would have pointed me to "axes" or to "scales" otherwise

Your Proposal for Changes

Including such a max value on the example polar area chart. Maybe with a comment saying that if omitted it defaults to the max value of the dataset.

Example

No response

On the polar area docs page it is shown here with a link to the radial linear scale config that the extra config is in there. Additionally I have added a link to the radial linear section of the docs in the samples

image