vue-chartjs
Advanced tools
Comparing version 4.0.6 to 4.0.7
@@ -126,3 +126,5 @@ import { Chart, BarController, DoughnutController, LineController, PieController, PolarAreaController, RadarController, BubbleController, ScatterController } from 'chart.js'; | ||
hasAnnotationPlugin () { | ||
return Object.keys(this.chartOptions).length > 0 && 'plugins' in this.chartOptions && Object.keys(this.chartOptions.plugins).length > 0 && ANNOTATION_PLUGIN_KEY in this.chartOptions.plugins; | ||
var ref, ref1; | ||
const pluginSettings = (ref = this.chartOptions) === null || ref === void 0 ? void 0 : (ref1 = ref.plugins) === null || ref1 === void 0 ? void 0 : ref1[ANNOTATION_PLUGIN_KEY]; | ||
return typeof pluginSettings !== 'undefined'; | ||
} | ||
@@ -129,0 +131,0 @@ }, |
{ | ||
"name": "vue-chartjs", | ||
"version": "4.0.6", | ||
"version": "4.0.7", | ||
"packageManager": "pnpm@6.32.9", | ||
@@ -5,0 +5,0 @@ "description": "Vue.js wrapper for chart.js for creating beautiful charts.", |
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
994
134524