Sha256: 87c69171d011ec48f620f4688258fd18f9c45409f4901140376183c0bdec0cae

Contents?: true

Size: 597 Bytes

Versions: 3

Compression:

Stored size: 597 Bytes

Contents

module GoogleVisualr
  module Interactive

    # http://code.google.com/apis/chart/interactive/docs/gallery/barchart.html
    class BarChart < BaseChart
      include GoogleVisualr::Packages::CoreChart

      def package_name
        if material
          "bar"
        else
          super
        end
      end

      def chart_name
        if material
          "Bar"
        else
          super
        end
      end

      # For Configuration Options, please refer to:
      # http://code.google.com/apis/chart/interactive/docs/gallery/barchart.html#Configuration_Options
    end

  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
google_visualr_rails5-2.5.2 lib/google_visualr/interactive/bar_chart.rb
google_visualr-2.5.1 lib/google_visualr/interactive/bar_chart.rb
google_visualr-2.5.0 lib/google_visualr/interactive/bar_chart.rb