Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func S ¶
func S(ctx context.Context, y *dataframe.SeriesFloat64, x interface{}, r *dataframe.Range, style ...chart.Style) (chart.Series, error)
S converts a SeriesFloat64 to a chart.Series for use with the "github.com/wcharczuk/go-chart" package. Currently x can be nil, a SeriesFloat64 or a SeriesTime. nil values in the x and y Series are ignored.
NOTE: To "unjoin" the lines, you can adjust the style to chart.Style{StrokeWidth: chart.Disabled, DotWidth: 2}.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.