Permalink
Browse files

Version bump to 0.1.3

  • Loading branch information...
1 parent 98d9be7 commit 92a4e4998960188709167b6e16aa51b78cb12693 @ankane committed Dec 5, 2016
Showing with 12 additions and 8 deletions.
  1. +4 −0 CHANGELOG.md
  2. +1 −1 bower.json
  3. +3 −3 dist/vue-chartkick.js
  4. +2 −2 dist/vue-chartkick.min.js
  5. +1 −1 index.js
  6. +1 −1 package.json
View
@@ -1,3 +1,7 @@
+## 0.1.3
+
+- Added `curve`, `legend`, and `title` options
+
## 0.1.2
- Added `download`, `refresh`, and `donut` options
View
@@ -1,6 +1,6 @@
{
"name": "vue-chartkick",
- "version": "0.1.2",
+ "version": "0.1.3",
"main": "dist/vue-chartkick.js",
"ignore": [
"**/.*"
@@ -58,7 +58,7 @@ return /******/ (function(modules) { // webpackBootstrap
* Vue Chartkick
* Create beautiful charts with one line in Vue.js
* https://github.com/ankane/vue-chartkick
- * v0.1.2
+ * v0.1.3
* @license MIT
*/
@@ -67,7 +67,7 @@ return /******/ (function(modules) { // webpackBootstrap
var chartId = 1
var createComponent = function(tagName, chartType) {
- var chartProps = ["min", "max", "colors", "stacked", "discrete", "label", "xtitle", "ytitle", "library", "download", "refresh", "donut"]
+ var chartProps = ["min", "max", "colors", "stacked", "discrete", "label", "xtitle", "ytitle", "library", "download", "refresh", "donut", "legend", "curve", "title"]
Vue.component(tagName, {
props: ["data", "id", "width", "height"].concat(chartProps),
template: '<div v-bind:id="chartId" v-bind:style="chartStyle">Loading...</div>',
@@ -97,7 +97,7 @@ return /******/ (function(modules) { // webpackBootstrap
var props = chartProps
for (var i = 0; i < props.length; i++) {
var prop = props[i]
- if (this[prop]) {
+ if (this[prop] !== undefined) {
options[prop] = this[prop]
}
}
@@ -2,7 +2,7 @@
* Vue Chartkick
* Create beautiful charts with one line in Vue.js
* https://github.com/ankane/vue-chartkick
- * v0.1.2
+ * v0.1.3
* @license MIT
*/
-var i=r(1),a=r(2),n=1,o=function(t,e){var r=["min","max","colors","stacked","discrete","label","xtitle","ytitle","library","download","refresh","donut"];i.component(t,{props:["data","id","width","height"].concat(r),template:'<div v-bind:id="chartId" v-bind:style="chartStyle">Loading...</div>',data:function(){return{chartId:null}},computed:{chartStyle:function(){return this.data,this.chartOptions,{height:this.height||"300px",lineHeight:this.height||"300px",width:this.width||"100%",textAlign:"center",color:"#999",fontSize:"14px",fontFamily:"'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, Helvetica, sans-serif"}},chartOptions:function(){for(var t={},e=r,i=0;i<e.length;i++){var a=e[i];this[a]&&(t[a]=this[a])}return t}},created:function(){this.chartId=this.chartId||this.id||"chart-"+n++},mounted:function(){this.renderChart()},updated:function(){this.renderChart()},methods:{renderChart:function(){new e(this.chartId,this.data,this.chartOptions)}}})};o("line-chart",a.LineChart),o("pie-chart",a.PieChart),o("column-chart",a.ColumnChart),o("bar-chart",a.BarChart),o("area-chart",a.AreaChart),o("scatter-chart",a.ScatterChart),o("geo-chart",a.GeoChart),o("timeline",a.Timeline)},function(e,r){e.exports=t},function(t,r){t.exports=e}])});
+var i=r(1),a=r(2),n=1,o=function(t,e){var r=["min","max","colors","stacked","discrete","label","xtitle","ytitle","library","download","refresh","donut","legend","curve","title"];i.component(t,{props:["data","id","width","height"].concat(r),template:'<div v-bind:id="chartId" v-bind:style="chartStyle">Loading...</div>',data:function(){return{chartId:null}},computed:{chartStyle:function(){return this.data,this.chartOptions,{height:this.height||"300px",lineHeight:this.height||"300px",width:this.width||"100%",textAlign:"center",color:"#999",fontSize:"14px",fontFamily:"'Lucida Grande', 'Lucida Sans Unicode', Verdana, Arial, Helvetica, sans-serif"}},chartOptions:function(){for(var t={},e=r,i=0;i<e.length;i++){var a=e[i];void 0!==this[a]&&(t[a]=this[a])}return t}},created:function(){this.chartId=this.chartId||this.id||"chart-"+n++},mounted:function(){this.renderChart()},updated:function(){this.renderChart()},methods:{renderChart:function(){new e(this.chartId,this.data,this.chartOptions)}}})};o("line-chart",a.LineChart),o("pie-chart",a.PieChart),o("column-chart",a.ColumnChart),o("bar-chart",a.BarChart),o("area-chart",a.AreaChart),o("scatter-chart",a.ScatterChart),o("geo-chart",a.GeoChart),o("timeline",a.Timeline)},function(e,r){e.exports=t},function(t,r){t.exports=e}])});
View
@@ -2,7 +2,7 @@
* Vue Chartkick
* Create beautiful charts with one line in Vue.js
* https://github.com/ankane/vue-chartkick
- * v0.1.2
+ * v0.1.3
* @license MIT
*/
View
@@ -1,6 +1,6 @@
{
"name": "vue-chartkick",
- "version": "0.1.2",
+ "version": "0.1.3",
"description": "Create beautiful charts with one line in Vue.js",
"main": "index.js",
"scripts": {

0 comments on commit 92a4e49

Please sign in to comment.