Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Graphics.HappyHour
Synopsis
- writeBarGraphSvgFile :: FilePath -> [(String, Int)] -> IO ()
Documentation
Arguments
:: FilePath | Where the file will be written. The containing directory must already exist. If there already exists a file at this path, it will be overwritten. If there exists a directory at this path, the action will fail. |
-> [(String, Int)] | The data to visualize. Each list entry represents a bar on the
plot, ordered from left to right. The |
-> IO () |
Create an SVG file containing a bar graph