Sha256: cc5e82812cfddcac5f60833612b5ee50c7971944f68743164faff6cd8cbd3356

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

# frozen_string_literal: true

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

        build_chart.plot_area.build_line_chart
      end

      def the_chart
        chart.plot_area.line_chart
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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