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.

  1. data StackOffset

    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.

  2. TOffset :: Double -> TitleConfig

    hvega Graphics.Vega.VegaLite

    Default offset, in pixels, of titles relative to the chart body.

  3. TickDashOffset :: DashOffset -> AxisConfig

    hvega Graphics.Vega.VegaLite

    The offset for the dash pattern.

  4. TickOffset :: Double -> AxisConfig

    hvega Graphics.Vega.VegaLite

    The position offset, in pixels, to apply to ticks, labels, and grid lines. See also LabelOffset.

  5. TranslateOffset :: Double -> AxisConfig

    hvega 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.

  6. VBStrokeDashOffset :: DashOffset -> ViewBackground

    hvega Graphics.Vega.VegaLite

    The offset of the dash pattern for the line around the background, if drawn.

  7. VLDatasets :: VLProperty

    hvega Graphics.Vega.VegaLite

    See datasets.

  8. ViewStrokeDashOffset :: DashOffset -> ViewConfig

    hvega Graphics.Vega.VegaLite

    The offset for the dash pattern.

  9. datasets :: [(Text, Data)] -> Data

    hvega 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 []
    ]
    

  10. defaultSettings :: MonadIO m => String -> m JsonRpcClient

    jsonrpc-tinyclient Network.JsonRpc.TinyClient

    Create default JsonRpcClient settings.

Page 1568 of many | Previous | Next