class CTioga2::Graphics::Styles::HistogramStyle

This class defines various informations about the look of histograms.

Public Instance Methods

set_from_hash(hash, name = "%s") click to toggle source
# File lib/ctioga2/graphics/styles/plot-types.rb, line 188
def set_from_hash(hash, name = "%s")
  super

  if @cumulative == :next
    @last_neg ||= 0
    @last_neg -= 1
    @cumulative = @last_neg
  end
    
end