From 544ef18a8cb9949fcb8833c6d2816783c90f3318 Mon Sep 17 00:00:00 2001
From: xuri <xuri.me@gmail.com>
Date: Mon, 5 Jul 2021 00:03:56 +0800
Subject: - Support concurrency iterate rows and columns - Rename exported
 field `File.XLSX` to `File.Pkg` - Exported error message

---
 sparkline.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'sparkline.go')

diff --git a/sparkline.go b/sparkline.go
index 150c0ea..5326c60 100644
--- a/sparkline.go
+++ b/sparkline.go
@@ -467,7 +467,7 @@ func (f *File) parseFormatAddSparklineSet(sheet string, opt *SparklineOption) (*
 		return ws, err
 	}
 	if opt == nil {
-		return ws, errors.New("parameter is required")
+		return ws, ErrParameterRequired
 	}
 	if len(opt.Location) < 1 {
 		return ws, errors.New("parameter 'Location' is required")
-- 
cgit v1.2.1