Last active
December 10, 2015 12:19
Revisions
-
vicentereig revised this gist
Jan 2, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ $ = jQuery class GoogleChartWrapper @defaults = {} constructor: (@$el, @options={}) -> $.extend true, @options, @defaults, @$el.data() @chart = new google.visualization.ChartWrapper options @chart.draw() -
vicentereig revised this gist
Jan 2, 2013 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@ $ = jQuery $ -> $('#iteration-visualization').chartWrapper chartType: 'ColumnChart' options: title: 'Iteration Contents Charts' isStacked: true colors: ['#DFE32D','#A8CFFF', '#FF9797'] containerId: 'iteration-visualization' -
vicentereig revised this gist
Jan 2, 2013 . 1 changed file with 8 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,9 @@ $ = jQuery $ -> $('#vis-div').chartWrapper chartType: 'ColumnChart' options: title: 'Iteration Contents Charts' isStacked: true colors: ['#DFE32D','#A8CFFF', '#FF9797'] containerId: 'vis-div' -
vicentereig revised this gist
Jan 2, 2013 . 3 changed files with 23 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ $ = jQuery class GoogleChartWrapper @defaults = {} constructor: (@$el, options) -> $.extend true, @options, @defaults, @$el.data() @chart = new google.visualization.ChartWrapper options @chart.draw() $.fn.chartWrapper = (options={}) -> @each -> $el = $(@) api = new GoogleChartWrapper($el, options) $el.data('GoogleChartWrapper', $el)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ $ = jQuery $ -> $('#vis-div').chartWrapper chartType: 'ColumnChart' options: title: 'Iteration Contents Charts' isStacked: true colors: ['#DFE32D','#A8CFFF', '#FF9797'] containerId: 'vis-div' This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1 @@ #iteration-visualization{data: {dataTable: @dataTable.to_json.html_safe}} -
vicentereig created this gist
Jan 2, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ #vis-div{data: {dataTable: @dataTable.to_json.html_safe}}