Method: ScbiPlot::Lines#setup_data

Defined in:
lib/scbi_plot/lines.rb

#setup_dataObject



136
137
138
139
140
141
142
# File 'lib/scbi_plot/lines.rb', line 136

def setup_data
  @series.each do |series|
    if @x.length != series[:data].length
      raise "Variables x and y have different sizes in serie #{series[:name]}"
    end
  end
end