Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Combine charts that share a common canvas.
Synopsis
- runHudCompoundWith :: ChartBox -> [(DataBox, [Hud], ChartTree)] -> ChartTree
- addHudCompound :: ChartAspect -> [(HudOptions, ChartTree)] -> ChartTree
- compoundMerge :: [ChartOptions] -> ChartOptions
- writeChartOptionsCompound :: FilePath -> [ChartOptions] -> IO ()
- encodeChartOptionsCompound :: [ChartOptions] -> ByteString
- markupChartOptionsCompound :: [ChartOptions] -> Markup
Documentation
:: ChartBox | initial canvas |
-> [(DataBox, [Hud], ChartTree)] | databox-huds-chart tuples representing independent chart trees occupying the same canvas space |
-> ChartTree | integrated chart tree |
Combine a collection of chart trees that share a canvas box.
addHudCompound :: ChartAspect -> [(HudOptions, ChartTree)] -> ChartTree Source #
Decorate a ChartTree with HudOptions, merging the individual hud options.
compoundMerge :: [ChartOptions] -> ChartOptions Source #
Merge a list of ChartOptions, treating each element as charts to be merged. Note that this routine mempties the hud options and converts them to charts.
writeChartOptionsCompound :: FilePath -> [ChartOptions] -> IO () Source #
Write multiple charts to a single file sharing the canvas.
encodeChartOptionsCompound :: [ChartOptions] -> ByteString Source #
Encode multiple charts.
markupChartOptionsCompound :: [ChartOptions] -> Markup Source #
Create Markup representing multiple charts sharing a common canvas.