Chart-1.9.3: A library for generating 2D Charts and Plots
Copyright(c) Tim Docker 2010 2014
LicenseBSD-style (see chart/COPYRIGHT)
Safe HaskellNone
LanguageHaskell98

Graphics.Rendering.Chart.Axis.Int

Description

Calculate and render integer indexed axes

Documentation

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

Orphan instances

PlotValue Int Source # 
Instance details

Methods

toValue :: Int -> Double Source #

fromValue :: Double -> Int Source #

autoAxis :: AxisFn Int Source #

PlotValue Integer Source # 
Instance details

Methods

toValue :: Integer -> Double Source #

fromValue :: Double -> Integer Source #

autoAxis :: AxisFn Integer Source #