vue-highcharts
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -46,2 +46,5 @@ (function (global, factory) { | ||
}, | ||
updated: function() { | ||
this._renderChart(); | ||
}, | ||
beforeDestroy: function() { | ||
@@ -48,0 +51,0 @@ !isRenderer && this.chart.destroy(); |
@@ -1,1 +0,1 @@ | ||
(function(e,t){typeof exports==="object"&&typeof module!=="undefined"?module.exports=t(require("highcharts")):typeof define==="function"&&define.amd?define(["highcharts"],t):e.VueHighcharts=t(e.Highcharts)})(this,function(e){"use strict";e="default"in e?e["default"]:e;var t={highcharts:"Chart",highstock:"StockChart",highmaps:"Map","highcharts-renderer":"Renderer"};function r(e,r){var h=r[t[e]];if(!h){return null}var i=e==="highcharts-renderer";return{name:e,template:"<div></div>",props:i?{width:{type:Number,required:true},height:{type:Number,required:true}}:{options:{type:Object,required:true}},methods:{_renderChart:function(){if(i){this.renderer=new h(this.$el,this.width,this.height)}else{var e=this.options||{};e.chart=e.chart||{};e.chart.renderTo=this.$el;this.chart=new h(e)}}},mounted:function(){this._renderChart()},beforeDestroy:function(){!i&&this.chart.destroy()},ready:function(){this._renderChart()}}}function h(h,i){var n=i&&i.Highcharts||e;h.prototype.Highcharts=n;for(var o in t){var a=r(o,n);a&&h.component(o,a)}}return h}); | ||
(function(e,t){typeof exports==="object"&&typeof module!=="undefined"?module.exports=t(require("highcharts")):typeof define==="function"&&define.amd?define(["highcharts"],t):e.VueHighcharts=t(e.Highcharts)})(this,function(e){"use strict";e="default"in e?e["default"]:e;var t={highcharts:"Chart",highstock:"StockChart",highmaps:"Map","highcharts-renderer":"Renderer"};function r(e,r){var h=r[t[e]];if(!h){return null}var i=e==="highcharts-renderer";return{name:e,template:"<div></div>",props:i?{width:{type:Number,required:true},height:{type:Number,required:true}}:{options:{type:Object,required:true}},methods:{_renderChart:function(){if(i){this.renderer=new h(this.$el,this.width,this.height)}else{var e=this.options||{};e.chart=e.chart||{};e.chart.renderTo=this.$el;this.chart=new h(e)}}},mounted:function(){this._renderChart()},updated:function(){this._renderChart()},beforeDestroy:function(){!i&&this.chart.destroy()},ready:function(){this._renderChart()}}}function h(h,i){var n=i&&i.Highcharts||e;h.prototype.Highcharts=n;for(var a in t){var o=r(a,n);o&&h.component(a,o)}}return h}); |
{ | ||
"name": "vue-highcharts", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Highcharts component for Vue", | ||
@@ -5,0 +5,0 @@ "main": "dist/vue-highcharts.js", |
@@ -33,2 +33,5 @@ import ctors from './constrators.js'; | ||
}, | ||
updated: function() { | ||
this._renderChart(); | ||
}, | ||
beforeDestroy: function() { | ||
@@ -35,0 +38,0 @@ !isRenderer && this.chart.destroy(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9181
126