Sha256: 92ebdc2a1fb939549c7eb444c8d273d091d91beae17e8206aea5b00219e976ee

Contents?: true

Size: 476 Bytes

Versions: 49

Compression:

Stored size: 476 Bytes

Contents

module OldSql
  module ReportDesign
    class ChartItem
      attr_accessor :chart_data, :key
      
      def initialize(slice)
        @key = slice['title']
        @data = slice['data']
        @chart_data = []
        
        @data.split(" ").each {|chart_data| @chart_data << ChartData.new(chart_data)}
      end
      
      def expression?
        if @chart_data.count>1
          return true
        else
          return false
        end
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
old_sql-1.65.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.64.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.63.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.62.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.61.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.60.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.59.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.58.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.57.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.56.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.55.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.54.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.53.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.52.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.51.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.50.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.49.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.48.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.47.0 lib/old_sql/report_design/chart_item.rb
old_sql-1.46.0 lib/old_sql/report_design/chart_item.rb