summaryrefslogtreecommitdiffhomepage
path: root/examples/pivot_table_example.md
diff options
context:
space:
mode:
authorOleg Yakovenko <[email protected]>2022-02-07 10:35:21 +0200
committerGitHub <[email protected]>2022-02-07 10:35:21 +0200
commitf957baf68aae6ec06e94b5b7b4b1d281ab295ab3 (patch)
tree00cca6551838ca48dc297dd71338c14d8f8467b0 /examples/pivot_table_example.md
parentaf8fbd4d095589d31494b6f04ef07ca93de89650 (diff)
parent196862524f94c58b1521ef84a6cf0397b411a685 (diff)
downloadcaxlsx-f957baf68aae6ec06e94b5b7b4b1d281ab295ab3.tar.gz
caxlsx-f957baf68aae6ec06e94b5b7b4b1d281ab295ab3.zip
Merge branch 'master' into feature/manageable-scatter-markers
Diffstat (limited to 'examples/pivot_table_example.md')
-rw-r--r--examples/pivot_table_example.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pivot_table_example.md b/examples/pivot_table_example.md
index 21176a73..8dd12955 100644
--- a/examples/pivot_table_example.md
+++ b/examples/pivot_table_example.md
@@ -27,7 +27,7 @@ wb.add_worksheet(name: 'Basic Worksheet') do |sheet|
sheet.add_pivot_table 'G4:L17', 'A1:E31' do |pivot_table|
pivot_table.rows = ['Month', 'Year']
pivot_table.columns = ['Type']
- pivot_table.data = ['Sales']
+ pivot_table.data = [ref: 'Sales', num_fmt: 4]
pivot_table.pages = ['Region']
end
end