summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/icon_set.rb
diff options
context:
space:
mode:
authorStephen Pike <[email protected]>2012-04-21 09:33:49 -0400
committerStephen Pike <[email protected]>2012-04-21 09:33:49 -0400
commit8910b0ae5baa4e6371352bd4eac237fb3e7b10a4 (patch)
tree7d6a51aa32a47420118cbce62dd1f9f9caa861ec /lib/axlsx/workbook/worksheet/icon_set.rb
parent050f4cfac1b3a52da16b98f3a494083f0de5348f (diff)
downloadcaxlsx-8910b0ae5baa4e6371352bd4eac237fb3e7b10a4.tar.gz
caxlsx-8910b0ae5baa4e6371352bd4eac237fb3e7b10a4.zip
Update icon_set to use percent in its value_objects
Extend conditional formatting to the entire examples Rename example file to "example_conditional_formatting.xls"
Diffstat (limited to 'lib/axlsx/workbook/worksheet/icon_set.rb')
-rw-r--r--lib/axlsx/workbook/worksheet/icon_set.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/icon_set.rb b/lib/axlsx/workbook/worksheet/icon_set.rb
index 7ec94088..68f217da 100644
--- a/lib/axlsx/workbook/worksheet/icon_set.rb
+++ b/lib/axlsx/workbook/worksheet/icon_set.rb
@@ -74,7 +74,7 @@ module Axlsx
# I am keeping this private for now as I am not sure what impact changes to the required two cfvo objects will do.
def initialize_value_objects
@value_objects = SimpleTypedList.new Cfvo
- @value_objects.concat [Cfvo.new(:type => :min, :val => 0), Cfvo.new(:type => :max, :val => 0)]
+ @value_objects.concat [Cfvo.new(:type => :percent, :val => 0), Cfvo.new(:type => :percent, :val => 33), Cfvo.new(:type => :percent, :val => 67)]
@value_objects.lock
end
end