chart-svg-0.0.3: Charts in SVG

Safe HaskellNone
LanguageHaskell2010

Chart.Format

Synopsis

Documentation

toFormatN :: (Eq s, IsString s) => s -> Int -> FormatN Source #

precision :: (Int -> Double -> Text) -> Int -> [Double] -> [Text] Source #

Provide formatted text for a list of numbers so that they are just distinguished. 'precision commas 2 ticks' means give the tick labels as much precision as is needed for them to be distinguished, but with at least 2 significant figures, and format Integers with commas.