Safe Haskell | None |
---|---|
Language | Haskell2010 |
pixel charts
Opting for a Point or a Rect as concrete data elements that make up an individual chart leaves us with a bit more work to construct a Pixel chart, where colors represent detailed data
Synopsis
- data PixelOptions = PixelOptions {}
- defaultPixelOptions :: PixelOptions
- pixels :: RectStyle -> [PixelData] -> [Chart Double]
- pixelate :: (Point Double -> Double) -> Rect Double -> Grid (Rect Double) -> Colour -> Colour -> ([PixelData], Range Double)
- pixelf :: (Point Double -> Double) -> PixelOptions -> ([Chart Double], Range Double)
- pixelfl :: (Point Double -> Double) -> PixelOptions -> PixelLegendOptions -> ([Chart Double], [Hud Double])
- pixelLegendChart :: Range Double -> PixelLegendOptions -> [Chart Double]
- data PixelLegendOptions = PixelLegendOptions {}
- defaultPixelLegendOptions :: Text -> PixelLegendOptions
- isHori :: PixelLegendOptions -> Bool
- makePixelTick :: PixelLegendOptions -> Chart Double -> [Chart Double]
Documentation
data PixelOptions Source #
Instances
pixelate :: (Point Double -> Double) -> Rect Double -> Grid (Rect Double) -> Colour -> Colour -> ([PixelData], Range Double) Source #
create pixel data from a function on a Point
pixelf :: (Point Double -> Double) -> PixelOptions -> ([Chart Double], Range Double) Source #
create a pixel chart from a function
pixelfl :: (Point Double -> Double) -> PixelOptions -> PixelLegendOptions -> ([Chart Double], [Hud Double]) Source #
pixelLegendChart :: Range Double -> PixelLegendOptions -> [Chart Double] Source #
data PixelLegendOptions Source #
Instances
isHori :: PixelLegendOptions -> Bool Source #
makePixelTick :: PixelLegendOptions -> Chart Double -> [Chart Double] Source #