Safe Haskell | None |
---|---|
Language | Haskell2010 |
A variant of the Graph widget that automatically updates itself with a callback at a fixed interval.
- data GraphHandle
- data GraphConfig = GraphConfig {
- graphPadding :: Int
- graphBackgroundColor :: (Double, Double, Double)
- graphBorderColor :: (Double, Double, Double)
- graphBorderWidth :: Int
- graphDataColors :: [(Double, Double, Double, Double)]
- graphDataStyles :: [GraphStyle]
- graphHistorySize :: Int
- graphLabel :: Maybe String
- graphWidth :: Int
- graphDirection :: GraphDirection
- data GraphDirection
- data GraphStyle
- pollingGraphNew :: GraphConfig -> Double -> IO [Double] -> IO Widget
- defaultGraphConfig :: GraphConfig
Types
data GraphHandle Source #
data GraphConfig Source #
The configuration options for the graph. The padding is the number of pixels reserved as blank space around the widget in each direction.
GraphConfig | |
|
data GraphStyle Source #
Constructors and accessors
pollingGraphNew :: GraphConfig -> Double -> IO [Double] -> IO Widget Source #