Line implements the Plotter interface, drawing a line.
| 32 | |
| 33 | // Line implements the Plotter interface, drawing a line. |
| 34 | type 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. |
nothing calls this directly
no outgoing calls
no test coverage detected