c3sts

package
v2.20.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

c3sts is a package for creating C3 charts from statictimeseries data. see c3/examples/funnel_chart for usage.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL