-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
spanGaps property for Radar chart #6392
Comments
To be exact, the
As stated in the doc, Edit: Corrected for radar charts
|
@nagix thank you for explanation.
It's written What it's still not clear, why Having a fallback Therefore let me ask you what is the difference (for CHART.JS) setting spanGaps (per-chart option) in If I understood correctly, setting |
@stockiNail see the docs here about dataset configuration to see if it helps clear things up: https://github.com/chartjs/Chart.js/tree/master/docs/configuration#dataset-configuration |
@benmccann thank you, I missed that part of doc. My fault. Comparing with past, there are 2 new objects to map datasets properteis at options level:
First question: what does [type] mean? Are we talking about Forgive me but still have some doubts. Now let's make an example: property
Second question:; apart of fallback logic, what is the difference to set |
I'm not particularly familiar with |
@benmccann I had the feeling that this new
Fine even if it's not clear which properties can be set in this object. The
As far as I understood, when you create a chart, you have only 1 options instance which configures the whole chart therefore I have the feeling that the property can be set wherever you like with the same effect. OK, but now it's quite clear. Assuming what I wrote above, I think I won't change anything waiting for the version 3 where some pieces (maintained for backwards compatibility) will be removed. |
Because of the historical reason, |
@nagix got it! As far as I understood, curretly Before closing the issue, could you confirm that inside the If my assumption is correct, my hint could be to add into the doc of dataset properties for each chart type that those properties can be set into datasets configuration of the chart and globally. |
Most options can be read from the dataset. Both |
Documentation Is:
New spanGaps dataset property for Radar chart
Checking the documentation, commited into master, I see that new
spanGaps
dataset property has been added.The documentation is reporting:
Unfortunately the
spanGaps
is not present intoelements.line
documentation.Furthermore, adding the property to
elements.line
, it looks like a duplication forline chart
where the same property is defined into configuration itself.Proposal for Changes
Apart to document
spanGaps
into elements.line page, I think thespanGaps
property at configuration level forline chart
should be removed in order to use only 1, intoelements.line
.The text was updated successfully, but these errors were encountered: