Documentation
¶
Index ¶
- Variables
- func DrawBitsGraph(out io.Writer, data models.Bins, params GraphParams) error
- func DrawDownstreamErrorSecondsGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
- func DrawDownstreamErrorsGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
- func DrawDownstreamRetransmissionGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
- func DrawHlogGraph(out io.Writer, data models.Bins, params GraphParams) error
- func DrawQLNGraph(out io.Writer, data models.Bins, params GraphParams) error
- func DrawSNRGraph(out io.Writer, data models.Bins, params GraphParams) error
- func DrawSNRGraphWithHistory(out io.Writer, data models.Bins, history models.BinsHistory, ...) error
- func DrawUpstreamErrorSecondsGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
- func DrawUpstreamErrorsGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
- func DrawUpstreamRetransmissionGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
- type Color
- type GraphParams
- type Legend
- func GetBitsGraphLegend() Legend
- func GetDownstreamErrorSecondsGraphLegend() Legend
- func GetDownstreamErrorsGraphLegend() Legend
- func GetDownstreamRetransmissionGraphLegend() Legend
- func GetHlogGraphLegend() Legend
- func GetQLNGraphLegend() Legend
- func GetSNRGraphLegend() Legend
- func GetSNRGraphWithHistoryLegend() Legend
- func GetUpstreamErrorSecondsGraphLegend() Legend
- func GetUpstreamErrorsGraphLegend() Legend
- func GetUpstreamRetransmissionGraphLegend() Legend
- type LegendItem
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultWidth = 560 DefaultHeight = 114 DefaultHeightWithLegend = 132 DefaultScaleFactor = 1.0 DefaultFontSize = 0.0 DefaultColorBackground = Color{255, 255, 255, 1.0} DefaultColorForeground = Color{0, 0, 0, 1.0} DefaultGraphParams = GraphParams{ Width: DefaultWidth, Height: DefaultHeight, ScaleFactor: DefaultScaleFactor, FontSize: DefaultFontSize, ColorBackground: DefaultColorBackground, ColorForeground: DefaultColorForeground, Legend: false, PreferDynamicAxisLimits: false, } DefaultGraphParamsWithLegend = GraphParams{ Width: DefaultWidth, Height: DefaultHeightWithLegend, ScaleFactor: DefaultScaleFactor, FontSize: DefaultFontSize, ColorBackground: DefaultColorBackground, ColorForeground: DefaultColorForeground, Legend: true, PreferDynamicAxisLimits: false, } )
Functions ¶
func DrawBitsGraph ¶
func DrawDownstreamErrorSecondsGraph ¶
func DrawDownstreamErrorSecondsGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
func DrawDownstreamErrorsGraph ¶
func DrawDownstreamErrorsGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
func DrawDownstreamRetransmissionGraph ¶
func DrawDownstreamRetransmissionGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
func DrawHlogGraph ¶
func DrawQLNGraph ¶
func DrawSNRGraph ¶
func DrawSNRGraphWithHistory ¶
func DrawSNRGraphWithHistory(out io.Writer, data models.Bins, history models.BinsHistory, params GraphParams) error
func DrawUpstreamErrorSecondsGraph ¶
func DrawUpstreamErrorSecondsGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
func DrawUpstreamErrorsGraph ¶
func DrawUpstreamErrorsGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
func DrawUpstreamRetransmissionGraph ¶
func DrawUpstreamRetransmissionGraph(out io.Writer, data models.ErrorsHistory, params GraphParams) error
Types ¶
type GraphParams ¶
type Legend ¶
type Legend struct { Title string Items []LegendItem }
func GetBitsGraphLegend ¶
func GetBitsGraphLegend() Legend
func GetDownstreamErrorSecondsGraphLegend ¶
func GetDownstreamErrorSecondsGraphLegend() Legend
func GetDownstreamErrorsGraphLegend ¶
func GetDownstreamErrorsGraphLegend() Legend
func GetDownstreamRetransmissionGraphLegend ¶
func GetDownstreamRetransmissionGraphLegend() Legend
func GetHlogGraphLegend ¶
func GetHlogGraphLegend() Legend
func GetQLNGraphLegend ¶
func GetQLNGraphLegend() Legend
func GetSNRGraphLegend ¶
func GetSNRGraphLegend() Legend
func GetSNRGraphWithHistoryLegend ¶
func GetSNRGraphWithHistoryLegend() Legend
func GetUpstreamErrorSecondsGraphLegend ¶
func GetUpstreamErrorSecondsGraphLegend() Legend
func GetUpstreamErrorsGraphLegend ¶
func GetUpstreamErrorsGraphLegend() Legend
func GetUpstreamRetransmissionGraphLegend ¶
func GetUpstreamRetransmissionGraphLegend() Legend
type LegendItem ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.