Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-chartjs

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-chartjs - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

CHANGELOG.md

2

package.json
{
"name": "vue-chartjs",
"version": "1.0.2",
"version": "1.0.3",
"description": "Vue wrapper for chart.js",

@@ -5,0 +5,0 @@ "author": "Jakub Juszczak <jakub@nextindex.de>",

# Vue-ChartJs
[![npm version](https://badge.fury.io/js/vue-chartjs.svg)] (https://badge.fury.io/js/vue-chartjs) ![npm dependencies](https://david-dm.org/apertureless/vue-chartjs.svg)
> VueJS wrapper for ChartJs

@@ -4,0 +6,0 @@

@@ -48,3 +48,3 @@ import Vue from 'vue'

render (data, options = this.options) {
const chart = new Chart(
this._chart = new Chart(
this.$els.canvas.getContext('2d'), {

@@ -56,5 +56,8 @@ type: 'bar',

)
chart.generateLegend()
this._chart.generateLegend()
}
},
beforeDestroy () {
this._chart.destroy()
}
})

@@ -31,3 +31,3 @@ import Vue from 'vue'

render (data, options = this.options) {
const chart = new Chart(
this._chart = new Chart(
this.$els.canvas.getContext('2d'), {

@@ -39,5 +39,8 @@ type: 'doughnut',

)
chart.generateLegend()
this._chart.generateLegend()
}
},
beforeDestroy () {
this._chart.destroy()
}
})

@@ -46,3 +46,3 @@ import Vue from 'vue'

render (data, options = this.options) {
const chart = new Chart(
this._chart = new Chart(
this.$els.canvas.getContext('2d'), {

@@ -54,5 +54,8 @@ type: 'line',

)
chart.generateLegend()
this._chart.generateLegend()
}
},
beforeDestroy () {
this._chart.destroy()
}
})

@@ -31,3 +31,3 @@ import Vue from 'vue'

render (data, options = this.options) {
const chart = new Chart(
this._chart = new Chart(
this.$els.canvas.getContext('2d'), {

@@ -39,5 +39,8 @@ type: 'pie',

)
chart.generateLegend()
this._chart.generateLegend()
}
},
beforeDestroy () {
this._chart.destroy()
}
})

@@ -31,3 +31,3 @@ import Vue from 'vue'

render (data, options = this.options) {
const chart = new Chart(
this._chart = new Chart(
this.$els.canvas.getContext('2d'), {

@@ -39,5 +39,8 @@ type: 'polarArea',

)
chart.generateLegend()
this._chart.generateLegend()
}
},
beforeDestroy () {
this._chart.destroy()
}
})

@@ -31,3 +31,3 @@ import Vue from 'vue'

render (data, options = this.options) {
const chart = new Chart(
this._chart = new Chart(
this.$els.canvas.getContext('2d'), {

@@ -39,5 +39,8 @@ type: 'radar',

)
chart.generateLegend()
this._chart.generateLegend()
}
},
beforeDestroy () {
this._chart.destroy()
}
})

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc