diff --git a/datalets/barchart-datalet/barchart-datalet.html b/datalets/barchart-datalet/barchart-datalet.html index b11e095..4495f4d 100755 --- a/datalets/barchart-datalet/barchart-datalet.html +++ b/datalets/barchart-datalet/barchart-datalet.html @@ -1,14 +1,57 @@ + + + + + + @@ -22,12 +57,14 @@ var column3DchartBehavior = { - + /** + * Bluid Highchart object + * + * @method transformData + */ transformData: function(){ - //Bluid Highchart element chart = new Highcharts.Chart({ chart: { - //To Modify renderTo: 'container', renderTo: this._component.$.charts.$.container, borderColor: '#EBBA95', borderWidth: 2, @@ -44,7 +81,7 @@ } }, xAxis: { - categories: this.properties.categories.value,//this._component.categories, + categories: this.properties.categories.value, title: { text: null } @@ -62,7 +99,7 @@ }, series: this.properties.series.value - });//highcharts + }); // Activate the sliders $('#R0').on('change', function () { @@ -81,6 +118,12 @@ column3DchartDatalet = Polymer({ is: 'column3Dchart-datalet', + /** + * 'ready' callback extend the column3DchartComponentBehavior with HighchartsComponentBehavior and column3DchartBehavior + * and run the Datalet workcycle. + * + * @method ready + */ ready: function(){ var column3DchartComponentBehavior = $.extend({}, HighchartsComponentBehavior, column3DchartBehavior); column3DchartComponentBehavior.properties = $.extend({}, HighchartsComponentBehavior.properties, column3DchartBehavior.properties); diff --git a/datalets/columnchart-datalet/columnchart-datalet.html b/datalets/columnchart-datalet/columnchart-datalet.html index 7a17220..1d2c17d 100755 --- a/datalets/columnchart-datalet/columnchart-datalet.html +++ b/datalets/columnchart-datalet/columnchart-datalet.html @@ -1,14 +1,56 @@ + + + + diff --git a/datalets/linechart-datalet/linechart-datalet.html b/datalets/linechart-datalet/linechart-datalet.html index c203aea..202136c 100755 --- a/datalets/linechart-datalet/linechart-datalet.html +++ b/datalets/linechart-datalet/linechart-datalet.html @@ -1,14 +1,57 @@ + + + +