Chart-1.8.2: A library for generating 2D Charts and Plots

Copyright | (c) Tim Docker 2010 2014
License | BSD-style (see chart/COPYRIGHT)
Safe Haskell | None
Language | Haskell98

Graphics.Rendering.Chart.Axis.Int

Contents

- Orphan instances

Description

Calculate and render integer indexed axes

# Documentation

defaultIntAxis :: Show a => LinearAxisParams a Source #

scaledIntAxis :: (Integral i, PlotValue i) => LinearAxisParams i -> (i, i) -> AxisFn i Source #

autoScaledIntAxis :: (Integral i, PlotValue i) => LinearAxisParams i -> AxisFn i Source #

# Orphan instances

PlotValue Int Source # |
Methods toValue :: Int -> Double Source # fromValue :: Double -> Int Source # autoAxis :: AxisFn Int Source #
PlotValue Integer Source # |
Methods toValue :: Integer -> Double Source # fromValue :: Double -> Integer Source # autoAxis :: AxisFn Integer Source #