react-chartjs-2
Advanced tools
Comparing version 4.3.0 to 4.3.1
@@ -13,5 +13,3 @@ import React, { forwardRef, useRef, useEffect } from 'react'; | ||
function setOptions(chart, nextOptions) { | ||
chart.options = { | ||
...nextOptions | ||
}; | ||
Object.assign(chart.options, nextOptions); | ||
} | ||
@@ -89,3 +87,5 @@ function setLabels(currentData, nextLabels) { | ||
data: cloneData(data, datasetIdKey), | ||
options, | ||
options: options && { | ||
...options | ||
}, | ||
plugins | ||
@@ -92,0 +92,0 @@ }); |
{ | ||
"name": "react-chartjs-2", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"description": "React components for Chart.js", | ||
@@ -5,0 +5,0 @@ "author": "Jeremy Ayerst", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
55971