Method: Axlsx::ColorScale.three_tone
- Defined in:
- lib/axlsx/workbook/worksheet/color_scale.rb
.three_tone ⇒ Object
A builder for three tone color gradient
33 34 35 36 37 |
# File 'lib/axlsx/workbook/worksheet/color_scale.rb', line 33 def three_tone self.new({:type => :min, :val => 0, :color => 'FFF8696B'}, {:type => :percent, :val => '50', :color => 'FFFFEB84'}, {:type => :max, :val => 0, :color => 'FF63BE7B'}) end |