docs: update documents
This commit is contained in:
parent
92458aece2
commit
706896737b
18 changed files with 83 additions and 18 deletions
|
|
@ -27,6 +27,7 @@ import (
|
|||
"github.com/wcharczuk/go-chart/v2/drawing"
|
||||
)
|
||||
|
||||
// NewMarkPoint returns a series mark point
|
||||
func NewMarkPoint(markPointTypes ...string) SeriesMarkPoint {
|
||||
data := make([]SeriesMarkData, len(markPointTypes))
|
||||
for index, t := range markPointTypes {
|
||||
|
|
@ -55,6 +56,7 @@ type markPointRenderOption struct {
|
|||
Points []Point
|
||||
}
|
||||
|
||||
// NewMarkPointPainter returns a mark point renderer
|
||||
func NewMarkPointPainter(p *Painter) *markPointPainter {
|
||||
return &markPointPainter{
|
||||
p: p,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue