Sha256: 10fe965f18fc3116eeda14e99abc92ee00064faf63fd952fb1f50c9a7741edd9
Contents?: true
Size: 704 Bytes
Versions: 4
Compression:
Stored size: 704 Bytes
Contents
module Axlsx # An axis data source that can contain referenced or literal strings or numbers # @note only string data types are supported - mainly because we have not implemented a chart type that requires a numerical axis value class AxDataSource < NumDataSource # allowed element tag names # @return [Array] def self.allowed_tag_names [:xVal, :cat] end # creates a new NumDataSource object # @option options [Array] data An array of Cells or Numeric objects # @option options [Symbol] tag_name see tag_name def initialize(options={}) @tag_name = :cat @data_type = StrData @ref_tag_name = :strRef super(options) end end end
Version data entries
4 entries across 4 versions & 1 rubygems