| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
|
||
| | Name | Type | Default | Description | ||
| | ---- | ---- | ------- | ----------- | ||
| | `angle` | `number` | `circumference / (arc count)` - for polar only | Arc angle to cover. |
There was a problem hiding this comment.
what does "for polar only" mean? That the option is available only for the polar chart or that default is circumference / (arc count) only for the polar chart? If the latter, what is the default for other chart types?
Sorry, something went wrong.
There was a problem hiding this comment.
We have two types of chart using elements.arc :
I tried to set elements.arc.angleoption in Pie/Doughnut chart. It doesn't override the natural angles computation.
So it seems that this option is available only for polar chart, and I think it's a good thing.
Sorry, something went wrong.
There was a problem hiding this comment.
Ok. I think it might be clearer to put "for polar only" next to the option name rather than the default value. How about:
angle (polar area chart only)
Sorry, something went wrong.
There was a problem hiding this comment.
Rather than stating its for polar only, why not move it to
Lines 58 to 68 in f68b8ad
Like weight in pie/doughnut
Sorry, something went wrong.
Add elements.arc.angle in documentation
| Back | FazBrowse Home | New Git URL |
Using elements.arc.angle option can be a workaround for #4751 and make #6472 useless.
Demo here : https://jsfiddle.net/h1e78vbq/