Sha256: a4646f8a1f7cd93700953f27a788aec59d34c51921b97f6c37f6635525ec1c91

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

# frozen_string_literal: true

module Goldendocx
  module Components
    class ColumnChart < Chart
      def initialize(chart_id, relationship_id, attributes = {})
        super(chart_id, relationship_id, attributes)

        build_chart.plot_area.build_column_chart
      end

      def the_chart
        chart.plot_area.column_chart
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
goldendocx-0.3.0 lib/goldendocx/components/column_chart.rb