diff options
author | Ri Xu <xuri.me@gmail.com> | 2017-04-23 00:39:14 +0800 |
---|---|---|
committer | Ri Xu <xuri.me@gmail.com> | 2017-04-23 00:39:14 +0800 |
commit | d78ac4108c2fd8ccf4a0d150302a70031d6f889b (patch) | |
tree | 7d5461d8c5a05c6b63d80e44c6c9fd11840ca399 /README.md | |
parent | 219aadeb7659ccee887e7d70c1711ee6dd50f35f (diff) |
- Update doc of function `AddChart()`;
- Readme updated;
- go test update
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -96,7 +96,7 @@ With Excelize chart generation and management is as easy as a few lines of code.  -``` +```go package main import ( @@ -107,7 +107,7 @@ import ( ) func main() { - categories := map[string]string{"A2": "Small", "A3": "Normal", "A4": "Large", "B1": "Large", "C1": "Apple", "D1": "Pear"} + categories := map[string]string{"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} xlsx := excelize.CreateFile() for k, v := range categories { |