Safe Haskell | None |
---|---|
Language | Haskell2010 |
A vertical bar that can plot data in the range [0, 1]. The colors are configurable.
Synopsis
- data VerticalBarHandle
- data BarConfig
- = BarConfig {
- barBorderColor :: (Double, Double, Double)
- barBackgroundColor :: Double -> (Double, Double, Double)
- barColor :: Double -> (Double, Double, Double)
- barPadding :: Int
- barWidth :: Int
- barDirection :: BarDirection
- | BarConfigIO {
- barBorderColorIO :: IO (Double, Double, Double)
- barBackgroundColorIO :: Double -> IO (Double, Double, Double)
- barColorIO :: Double -> IO (Double, Double, Double)
- barPadding :: Int
- barWidth :: Int
- barDirection :: BarDirection
- = BarConfig {
- data BarDirection
- verticalBarNew :: MonadIO m => BarConfig -> m (Widget, VerticalBarHandle)
- verticalBarSetPercent :: VerticalBarHandle -> Double -> IO ()
- defaultBarConfig :: (Double -> (Double, Double, Double)) -> BarConfig
- defaultBarConfigIO :: (Double -> IO (Double, Double, Double)) -> BarConfig
Types
data VerticalBarHandle Source #
BarConfig | |
| |
BarConfigIO | |
|
Accessors/Constructors
verticalBarNew :: MonadIO m => BarConfig -> m (Widget, VerticalBarHandle) Source #
verticalBarSetPercent :: VerticalBarHandle -> Double -> IO () Source #