grafana-0.2: API for creating grafana dashboards represented as json
Grafana.Layout
data Pos Source #
Constructors
Defined in Grafana.Layout
Methods
(==) :: Pos -> Pos -> Bool #
(/=) :: Pos -> Pos -> Bool #
showsPrec :: Int -> Pos -> ShowS #
show :: Pos -> String #
showList :: [Pos] -> ShowS #
data Rect Source #
Fields
(==) :: Rect -> Rect -> Bool #
(/=) :: Rect -> Rect -> Bool #
showsPrec :: Int -> Rect -> ShowS #
show :: Rect -> String #
showList :: [Rect] -> ShowS #
(<>) :: Rect -> Rect -> Rect #
sconcat :: NonEmpty Rect -> Rect #
stimes :: Integral b => b -> Rect -> Rect #
data Layout a Source #
fmap :: (a -> b) -> Layout a -> Layout b #
(<$) :: a -> Layout b -> Layout a #
(==) :: Layout a -> Layout a -> Bool #
(/=) :: Layout a -> Layout a -> Bool #
showsPrec :: Int -> Layout a -> ShowS #
show :: Layout a -> String #
showList :: [Layout a] -> ShowS #
(<>) :: Layout a -> Layout a -> Layout a #
sconcat :: NonEmpty (Layout a) -> Layout a #
stimes :: Integral b => b -> Layout a -> Layout a #
mempty :: Layout a #
mappend :: Layout a -> Layout a -> Layout a #
mconcat :: [Layout a] -> Layout a #
moveLayout :: Pos -> Layout a -> Layout a Source #
moveRect :: Pos -> Rect -> Rect Source #
atop :: Layout a -> Layout a -> Layout a Source #
nextTo :: Layout a -> Layout a -> Layout a Source #
rightl :: Layout a -> Int Source #
bottoml :: Layout a -> Int Source #
rowFits :: Int -> Int -> Int -> [Rect] Source #
fitToRow :: Int -> Int -> [Rect -> Layout a] -> Layout a Source #
fillRows :: Int -> Int -> Int -> [Rect -> Layout a] -> Layout a Source #