Sha256: 32fe28c6422e99a0b4a6b87bbd240571246680b9b7e107e3a64c7c0a87d4c99d

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

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

        build_chart.plot_area.build_doughnut_chart
      end

      def the_chart
        chart.plot_area.doughnut_chart
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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