Releases: mchav/granite
Releases · mchav/granite
v0.3.0.0
- Export a LabelFormatter function along with AxisEnv to define smarter labels.
- Change API of formatter to use AxisEnv and slot budget.
- Users can now specify the number of ticks to show and the colour palette for a plot.
- Add plot option to define the format of labels on both axes.
v0.2.0.0
- Plot title is now part of the configuration options.
- API now uses Text instead of String.
- You can now specify the bounds of a lot e.g. T.putStrLn $ lineGraph [("Foo", [(0, 0), (10, 1)]), ("Bar", [(0, 1), (10, 0)])] defPlot { xBounds = (Just 0, Just 10), yBounds = (Just 0, Just 1) }