MCPcopy Index your code
hub / github.com/gonum/plot / Line

Struct Line

plotter/line.go:34–48  ·  view source on GitHub ↗

Line implements the Plotter interface, drawing a line.

Source from the content-addressed store, hash-verified

32
33// Line implements the Plotter interface, drawing a line.
34type Line struct {
35 // XYs is a copy of the points for this line.
36 XYs
37
38 // StepStyle is the kind of the step line.
39 StepStyle StepKind
40
41 // LineStyle is the style of the line connecting the points.
42 // Use zero width to disable lines.
43 draw.LineStyle
44
45 // FillColor is the color to fill the area below the plot.
46 // Use nil to disable the filling. This is the default.
47 FillColor color.Color
48}
49
50// NewLine returns a Line that uses the default line style and
51// does not draw glyphs.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected