locli-1.34: Cardano log analysis CLI
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Render

Synopsis

Documentation

data Anchor Source #

Explain the poor human a little bit of what was going on:

data CDF2Aspect Source #

When rendering a CDF-of-CDFs _and_ subsetting the data, how to subset:

Constructors

OfOverallDataset

Overall dataset statistical summary.

OfInterCDF

Inter-sample (i.e. inter-CDF) stats.

renderSummary :: forall f a. (a ~ Summary f, TimelineFields a, ToJSON a) => RenderConfig -> Anchor -> (Field ISelect I a -> Bool) -> a -> [Text] Source #

renderFieldCentiles :: a p -> (forall v. Divisible v => CDF p v -> [[v]]) -> Field DSelect p a -> [[Text]] Source #

renderTimeline :: forall a b. [Field ISelect I a] -> (a -> b -> [Text]) -> RenderConfig -> Anchor -> [b] -> [a] -> [Text] Source #

mapRenderCDF :: forall p a. CDFFields a p => (Field DSelect p a -> Bool) -> Maybe [Centile] -> (forall c. Divisible c => p c -> [c]) -> a p -> [[Text]] Source #

renderAnalysisCDFs :: forall a p. (CDFFields a p, KnownCDF p, ToJSON (a p)) => Anchor -> (Field DSelect p a -> Bool) -> CDF2Aspect -> Maybe [Centile] -> RenderConfig -> a p -> [(Text, [Text])] Source #

centerLim :: (a -> Text) -> (Int -> Text -> Text) -> Width -> a -> Text Source #