dashi-0.1.0.0: Tasty Haskell design system
Safe HaskellNone
LanguageGHC2021

Dashi.Components.Plot

Documentation

data PlotType num Source #

Constructors

LinePlot 
BarPlot 

Fields

Instances

Instances details
Show num => Show (PlotType num) Source # 
Instance details

Defined in Dashi.Components.Plot

Methods

showsPrec :: Int -> PlotType num -> ShowS #

show :: PlotType num -> String #

showList :: [PlotType num] -> ShowS #

Eq num => Eq (PlotType num) Source # 
Instance details

Defined in Dashi.Components.Plot

Methods

(==) :: PlotType num -> PlotType num -> Bool #

(/=) :: PlotType num -> PlotType num -> Bool #

data PaddingAmount num Source #

Constructors

Relative num 
Absolute num 

absolutePadding :: Num num => num -> PaddingAmount num -> num Source #

expand :: Num num => Padding num -> Rect num -> Rect num Source #

contract :: Num num => Padding num -> Rect num -> Rect num Source #

data Ticks num Source #

Constructors

Numeric 
Time 
Custom [num] 

data Axis num Source #

Constructors

Axis 

Fields

data Plot num Source #

Constructors

Plot 

Fields

Instances

Instances details
(RealFrac num, ToMisoString num) => Widget (Plot num) model action Source # 
Instance details

Defined in Dashi.Components.Plot

Methods

widget' :: [Attribute action] -> Plot num -> View model action Source #

widget :: Plot num -> View model action Source #

style :: Css Source #