Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Added support for Stepped Area Chart #37

Merged
merged 2 commits into from

2 participants

@kacperk

Added Stepped Area Chart. I will be very pleased if you can merge this changes to main gem.

@winston
Owner

Thanks for this! 2 comments though:
1. Since the classname is SteppedAreaChart, the filename should be stepped_area_chart
2. Can you also update the comments on Line 4 and 9?

Once these are done, I'll need to put in doc for googlevisualr.heroku.com before I bump the version of the gem. Thank you.

@kacperk

Done.

@winston winston merged commit 8590229 into from
@winston
Owner

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
View
1  lib/google_visualr.rb
@@ -27,6 +27,7 @@
require "#{lib_path}/google_visualr/interactive/scatter_chart"
require "#{lib_path}/google_visualr/interactive/table"
require "#{lib_path}/google_visualr/interactive/tree_map"
+require "#{lib_path}/google_visualr/interactive/stepped_area_chart"
## Additional
require "#{lib_path}/google_visualr/interactive/annotated_time_line"
View
13 lib/google_visualr/interactive/stepped_area_chart.rb
@@ -0,0 +1,13 @@
+module GoogleVisualr
+ module Interactive
+
+ # https://developers.google.com/chart/interactive/docs/gallery/steppedareachart
+ class SteppedAreaChart < BaseChart
+ include GoogleVisualr::Packages::CoreChart
+
+ # For Configuration Options, please refer to:
+ # https://google-developers.appspot.com/chart/interactive/docs/gallery/steppedareachart#Configuration_Options
+ end
+
+ end
+end
Something went wrong with that request. Please try again.