summaryrefslogtreecommitdiff
path: root/chart.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-05-25 10:57:45 +0800
committerRi Xu <xuri.me@gmail.com>2017-05-25 10:57:45 +0800
commitfbc3d1cd01ed24f8a8f56bed947af14ed346f60a (patch)
treecff9002e8434e39dc5c9e1dc157a34feaa7ff048 /chart.go
parentdea57dd0aeb5507dc4f58de48b261d4013364232 (diff)
- Worksheet conditional formatting support added, relate issue #56;
- gofmted with -s
Diffstat (limited to 'chart.go')
-rw-r--r--chart.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart.go b/chart.go
index 192b582..3ff92b8 100644
--- a/chart.go
+++ b/chart.go
@@ -390,12 +390,12 @@ func (f *File) drawBarChart(formatSet *formatChart) *cPlotArea {
},
}
charts := map[string]*cPlotArea{
- "bar": &cPlotArea{
+ "bar": {
BarChart: &c,
CatAx: f.drawPlotAreaCatAx(),
ValAx: f.drawPlotAreaValAx(),
},
- "bar3D": &cPlotArea{
+ "bar3D": {
Bar3DChart: &c,
CatAx: f.drawPlotAreaCatAx(),
ValAx: f.drawPlotAreaValAx(),