Proposed fix for issue #6830 (#6884)

* proposed fix for issue #6830 https://github.com/chartjs/Chart.js/issues/6830

* Updated to pass the full options object instead of a shadow borderwidth. Updated migration guide regarding the API signature change.

* Moved to use options.radius instead of caching radius; updated related migration docs.
This commit is contained in:
Marc Silverman
2020-01-15 14:13:36 -08:00
committed by Evert Timberg
parent 02279b38fc
commit b834517378
4 changed files with 19 additions and 8 deletions

View File

@@ -45,7 +45,7 @@
],
"backgroundColor": "transparent",
"borderColor": "#0000ff",
"borderWidth": 0,
"borderWidth": 1,
"pointStyle": [
"circle",
"cross",
@@ -73,7 +73,7 @@
],
"backgroundColor": "#00ff00",
"borderColor": "#0000ff",
"borderWidth": 0,
"borderWidth": 1,
"pointStyle": [
"circle",
"cross",
@@ -103,7 +103,7 @@
"elements": {
"line": {
"borderColor": "transparent",
"borderWidth": 0,
"borderWidth": 1,
"fill": false
},
"point": {