summaryrefslogtreecommitdiff
path: root/chart.go
diff options
context:
space:
mode:
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(),