Skip to content

Commit

Permalink
Merge pull request #97 from winston/feature/add-new-charts
Browse files Browse the repository at this point in the history
Feature/add new charts
  • Loading branch information
winston committed Aug 27, 2015
2 parents 7b094bb + 308d08c commit 90474f9
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 9 deletions.
20 changes: 11 additions & 9 deletions lib/google_visualr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,33 @@
# Interactive Charts

## Main
require "#{lib_path}/google_visualr/interactive/annotated_time_line"
require "#{lib_path}/google_visualr/interactive/annotation_chart"
require "#{lib_path}/google_visualr/interactive/area_chart"
require "#{lib_path}/google_visualr/interactive/bar_chart"
require "#{lib_path}/google_visualr/interactive/bubble_chart"
require "#{lib_path}/google_visualr/interactive/calendar"
require "#{lib_path}/google_visualr/interactive/candlestick_chart"
require "#{lib_path}/google_visualr/interactive/column_chart"
require "#{lib_path}/google_visualr/interactive/combo_chart"
require "#{lib_path}/google_visualr/interactive/gantt_chart"
require "#{lib_path}/google_visualr/interactive/gauge"
require "#{lib_path}/google_visualr/interactive/geo_chart"
require "#{lib_path}/google_visualr/interactive/geo_map"
require "#{lib_path}/google_visualr/interactive/histogram"
require "#{lib_path}/google_visualr/interactive/intensity_map"
require "#{lib_path}/google_visualr/interactive/line_chart"
require "#{lib_path}/google_visualr/interactive/map"
require "#{lib_path}/google_visualr/interactive/motion_chart"
require "#{lib_path}/google_visualr/interactive/org_chart"
require "#{lib_path}/google_visualr/interactive/pie_chart"
require "#{lib_path}/google_visualr/interactive/sankey"
require "#{lib_path}/google_visualr/interactive/scatter_chart"
require "#{lib_path}/google_visualr/interactive/stepped_area_chart"
require "#{lib_path}/google_visualr/interactive/table"
require "#{lib_path}/google_visualr/interactive/tree_map"


## Additional
require "#{lib_path}/google_visualr/interactive/annotated_time_line"
require "#{lib_path}/google_visualr/interactive/intensity_map"
require "#{lib_path}/google_visualr/interactive/map"
require "#{lib_path}/google_visualr/interactive/motion_chart"
require "#{lib_path}/google_visualr/interactive/org_chart"
require "#{lib_path}/google_visualr/interactive/timeline"
require "#{lib_path}/google_visualr/interactive/tree_map"
require "#{lib_path}/google_visualr/interactive/word_tree"

# Image Charts
require "#{lib_path}/google_visualr/image/spark_line"
Expand Down
11 changes: 11 additions & 0 deletions lib/google_visualr/interactive/annotation_chart.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module GoogleVisualr
module Interactive

# https://developers.google.com/chart/interactive/docs/gallery/annotationchart
class AnnotationChart < BaseChart
# For Configuration Options, please refer to:
# https://developers.google.com/chart/interactive/docs/gallery/annotationchart#configuration-options
end

end
end
11 changes: 11 additions & 0 deletions lib/google_visualr/interactive/calendar.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module GoogleVisualr
module Interactive

# https://developers.google.com/chart/interactive/docs/gallery/calendar
class Calendar < BaseChart
# For Configuration Options, please refer to:
# https://developers.google.com/chart/interactive/docs/gallery/calendar#configuration-options
end

end
end
16 changes: 16 additions & 0 deletions lib/google_visualr/interactive/gantt_chart.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module GoogleVisualr
module Interactive

# https://developers.google.com/chart/interactive/docs/gallery/ganttchart
class GanttChart < BaseChart

def package_name
"gantt"
end

# For Configuration Options, please refer to:
# https://developers.google.com/chart/interactive/docs/gallery/ganttchart#configuration-options
end

end
end
11 changes: 11 additions & 0 deletions lib/google_visualr/interactive/sankey.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module GoogleVisualr
module Interactive

# https://developers.google.com/chart/interactive/docs/gallery/sankey
class Sankey < BaseChart
# For Configuration Options, please refer to:
# https://developers.google.com/chart/interactive/docs/gallery/sankey#configuration-options
end

end
end
11 changes: 11 additions & 0 deletions lib/google_visualr/interactive/word_tree.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module GoogleVisualr
module Interactive

# https://developers.google.com/chart/interactive/docs/gallery/wordtree
class WordTree < BaseChart
# For Configuration Options, please refer to:
# https://developers.google.com/chart/interactive/docs/gallery/wordtree#a-simple-example
end

end
end

0 comments on commit 90474f9

Please sign in to comment.