chart-svg-0.0.3: Charts in SVG

Safe HaskellNone
LanguageHaskell2010

Chart.Core

Synopsis

Documentation

padChart :: Double -> [Chart Double] -> [Chart Double] Source #

additively pad a [Chart]

frameChart :: RectStyle -> Double -> [Chart Double] -> [Chart Double] Source #

overlay a frame on some charts with some additive padding between

projectTo :: (Ord a, Fractional a) => Rect a -> [Spot a] -> [Spot a] Source #

project a [Spot a] from it's folded space to the given area

projectSpots :: Chartable a => Rect a -> [Chart a] -> [Chart a] Source #

projectSpotsWith :: Chartable a => Rect a -> Rect a -> [Chart a] -> [Chart a] Source #

dataBox :: Chartable a => [Chart a] -> Maybe (Rect a) Source #

 

defRectS :: (Eq a, Fractional a) => Maybe (Rect a) -> Rect a Source #

moveChart :: Chartable a => Spot a -> [Chart a] -> [Chart a] Source #