Documentation ¶
Overview ¶
c3sts is a package for creating C3 charts from statictimeseries data. see c3/examples/funnel_chart for usage.
Index ¶
- func DataRowsToTableRows(rep []timeseries.RowInt64, axis []string, addQoQPct, addFunnelPct bool, ...) ([][]string, []timeseries.RowFloat64, []timeseries.RowFloat64)
- func FunnelDataToChart(domID string, axis c3.C3Axis, funnelData []timeseries.RowFloat64) c3.C3Chart
- func QoqDataToChart(domID string, axis c3.C3Axis, qoqData []timeseries.RowFloat64) c3.C3Chart
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataRowsToTableRows ¶
func DataRowsToTableRows(rep []timeseries.RowInt64, axis []string, addQoQPct, addFunnelPct bool, countLabel, qoqLabel, funnelLabel string) ([][]string, []timeseries.RowFloat64, []timeseries.RowFloat64)
DataRowsToTableRows Builds rows from the output of timeseries.Report, array of []timeseries.RowInt64.
func FunnelDataToChart ¶
func FunnelDataToChart(domID string, axis c3.C3Axis, funnelData []timeseries.RowFloat64) c3.C3Chart
func QoqDataToChart ¶
func QoqDataToChart(domID string, axis c3.C3Axis, qoqData []timeseries.RowFloat64) c3.C3Chart
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.