summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt <kurt.w.jung@gmail.com>2018-03-19 13:00:48 -0400
committerKurt <kurt.w.jung@gmail.com>2018-03-19 13:00:48 -0400
commita5d7759a7bc697ddb0a744ab67c1daa4a87e4c8b (patch)
tree9178c329ad4302513bcd953fcd6f64a5159e91e6
parentc4bf431472e0d2bac050f5a2c5ade09a50d55f2c (diff)
Fix typo, mention charting facility in home page
-rw-r--r--README.md1
-rw-r--r--doc.go2
-rw-r--r--grid.go2
3 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6bcec3c..953857b 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,7 @@ text, drawing and images.
* Layers
* Templates
* Barcodes
+* Charting facility
gofpdf has no dependencies other than the Go standard library. All tests pass
on Linux, Mac and Windows platforms.
diff --git a/doc.go b/doc.go
index 42a2f48..02733ba 100644
--- a/doc.go
+++ b/doc.go
@@ -52,6 +52,8 @@ Features
• Barcodes
+• Charting facility
+
gofpdf has no dependencies other than the Go standard library. All tests pass
on Linux, Mac and Windows platforms.
diff --git a/grid.go b/grid.go
index b9ff6ac..ab042cc 100644
--- a/grid.go
+++ b/grid.go
@@ -353,7 +353,7 @@ func (g GridType) Grid(pdf *Fpdf) {
}
// Plot plots a series of count line segments from xMin to xMax. It repeatedly
-// calls fnc(x) to retreive the y value associate with x. The currently
+// calls fnc(x) to retrieve the y value associate with x. The currently
// selected line drawing attributes are used.
func (g GridType) Plot(pdf *Fpdf, xMin, xMax float64, count int, fnc func(x float64) (y float64)) {
if count > 0 {