Safe Haskell | None |
---|---|
Language | Haskell2010 |
Integration of reanimate and chart-svg
Synopsis
- data ReanimateConfig = ReanimateConfig {}
- defaultReanimateConfig :: ReanimateConfig
- animChartSvg :: ReanimateConfig -> (Double -> ChartSvg) -> Animation
- data ChartReanimate = ChartReanimate {}
- chartReanimate :: ChartSvg -> ChartReanimate
- toTreeA :: ReanimateConfig -> (Double -> ChartSvg) -> Double -> Tree
- tree :: Chart Double -> Tree
- treeFromFile :: FilePath -> IO Tree
Documentation
data ReanimateConfig Source #
global reanimate configuration.
>>>
defaultReanimateConfig
ReanimateConfig {duration = 5.0, background = Just "black", globalFontFamily = Just ["Arial","Helvetica","sans-serif"], globalFontStyle = Just FontStyleNormal, globalAlignment = AlignxMinYMin}
ReanimateConfig | |
|
Instances
animChartSvg :: ReanimateConfig -> (Double -> ChartSvg) -> Animation Source #
Animate a ChartSvg animation.
data ChartReanimate Source #
The output of the raw translation of ChartSvg to a reanimate svg tree.