summaryrefslogtreecommitdiff
path: root/drawing.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-03-12 00:45:27 +0800
committerxuri <xuri.me@gmail.com>2022-03-12 00:45:27 +0800
commite1d660dda7c02475a8529a252e6c1fd171065429 (patch)
tree1e0f9eceef95df5189ea50d8b6f21055f0771551 /drawing.go
parent361611c23ae56cac091d5c7d73f5ea305b5bd3fc (diff)
ref #65, new formula functions: GAMMA.INV and GAMMAINV and format code
Diffstat (limited to 'drawing.go')
-rw-r--r--drawing.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawing.go b/drawing.go
index 3af789f..e3e7fa8 100644
--- a/drawing.go
+++ b/drawing.go
@@ -514,7 +514,7 @@ func (f *File) drawBaseChart(formatSet *formatChart) *cPlotArea {
// doughnut chart by given format sets.
func (f *File) drawDoughnutChart(formatSet *formatChart) *cPlotArea {
holeSize := 75
- if formatSet.HoleSize > 0 && formatSet.HoleSize <= 90{
+ if formatSet.HoleSize > 0 && formatSet.HoleSize <= 90 {
holeSize = formatSet.HoleSize
}