From 71829c520235b733870563f30dceef9ef4dbbb98 Mon Sep 17 00:00:00 2001 From: xuri Date: Sun, 27 Dec 2020 00:18:54 +0800 Subject: AddChart support disable legend of the chart --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7c67092..b6c1433 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,8 @@ import ( func main() { categories := map[string]string{ - "A2": "Small", "A3": "Normal", "A4": "Large", "B1": "Apple", "C1": "Orange", "D1": "Pear"} + "A2": "Small", "A3": "Normal", "A4": "Large", + "B1": "Apple", "C1": "Orange", "D1": "Pear"} values := map[string]int{ "B2": 2, "C2": 3, "D2": 3, "B3": 5, "C3": 2, "D3": 4, "B4": 6, "C4": 7, "D4": 8} f := excelize.NewFile() -- cgit v1.2.1