Sha256: 1b838dfb784cbe54f5e998fb80b005b54a0a86abb7659d8554f0a56fdf261ab6
Contents?: true
Size: 808 Bytes
Versions: 3
Compression:
Stored size: 808 Bytes
Contents
# frozen_string_literal: true module Goldendocx module Charts module Properties class BarChartProperty include Goldendocx::Element namespace :c tag :barChart embeds_one :direction, class_name: 'Goldendocx::Charts::Properties::DirectionProperty', auto_build: true embeds_one :grouping, class_name: 'Goldendocx::Charts::Properties::GroupingProperty', auto_build: true embeds_many :axes, class_name: 'Goldendocx::Charts::Properties::AxisProperty' embeds_many :series, class_name: 'Goldendocx::Charts::Series' def initialize build_direction(direction: :bar) build_grouping(value: :clustered) build_axis(axis_id: 9374902) build_axis(axis_id: 2094739) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems