taffybar-0.1.2: A desktop bar similar to xmobar, but with more GUI

System.Taffybar.Widgets.PollingGraph

Contents

Description

A variant of the Graph widget that automatically updates itself with a callback at a fixed interval.

Synopsis

Types

data GraphConfig

The configuration options for the graph. The padding is the number of pixels reserved as blank space around the widget in each direction.

Constructors

GraphConfig 

Fields

graphPadding :: Int

Number of pixels of padding on each side of the graph widget

graphBackgroundColor :: (Double, Double, Double)

The background color of the graph (default black)

graphBorderColor :: (Double, Double, Double)

The border color drawn around the graph (default gray)

graphDataColors :: [(Double, Double, Double, Double)]

Colors for each data set (default [])

graphHistorySize :: Int

The number of data points to retain for each data set (default 20)

graphLabel :: Maybe String

May contain Pango markup (default Nothing)

graphWidth :: Int

The width (in pixels) of the graph widget (default 50)

Constructors and accessors