Hoogle Search
Within LTS Haskell 24.70 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
hvega Graphics.Vega.VegaLite Describes the type of stacking to apply to a bar chart. In 0.4.0.0 this was renamed from StackProperty to StackOffset, but the constructor names have not changed.
TOffset :: Double -> TitleConfighvega Graphics.Vega.VegaLite Default offset, in pixels, of titles relative to the chart body.
TickDashOffset :: DashOffset -> AxisConfighvega Graphics.Vega.VegaLite The offset for the dash pattern.
TickOffset :: Double -> AxisConfighvega Graphics.Vega.VegaLite The position offset, in pixels, to apply to ticks, labels, and grid lines. See also LabelOffset.
TranslateOffset :: Double -> AxisConfighvega Graphics.Vega.VegaLite The translation offset in pixels applied to the axis group mark x and y. If specified it overrides the default value of a 0.5 offset to pixel-align stroked lines.
VBStrokeDashOffset :: DashOffset -> ViewBackgroundhvega Graphics.Vega.VegaLite The offset of the dash pattern for the line around the background, if drawn.
-
hvega Graphics.Vega.VegaLite See datasets.
ViewStrokeDashOffset :: DashOffset -> ViewConfighvega Graphics.Vega.VegaLite The offset for the dash pattern.
datasets :: [(Text, Data)] -> Datahvega Graphics.Vega.VegaLite Create a dataset comprising a collection of named Data items. Each data item can be created with normal data generating functions such as dataFromRows or dataFromJson. These can be later referred to using dataFromSource.
let toJS = Data.Aeson.toJSON obj = Data.Aeson.object dvals = dataFromRows [] . dataRow [ ( "cat", Str "a" ), ( "val", Number 10 ) ] . dataRow [ ( "cat", Str "b" ), ( "val", Number 18 ) ] json = toJS [ obj [ ( "cat", toJS "a" ), ( "val", toJS 120 ) ] , obj [ ( "cat", toJS "b" ), ( "val", toJS 180 ) ] ] enc = ... in toVegaLite [ datasets [ ( "myData", dvals [] ), ( "myJson", dataFromJson json [] ) ] , dataFromSource "myData" [] , mark Bar [] , enc [] ]
defaultSettings :: MonadIO m => String -> m JsonRpcClientjsonrpc-tinyclient Network.JsonRpc.TinyClient Create default JsonRpcClient settings.