Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. PAggregate :: Operation -> PositionChannel

    hvega Graphics.Vega.VegaLite

    Compute some aggregate summary statistics for a field to be encoded with a position channel.

    enc = encoding
    . position X [ PName "role", PmType Ordinal ]
    . position Y [ PName "salary"
    , PmType Quantitative
    , PAggregate Mean
    ]
    
    

  2. PAxis :: [AxisProperty] -> PositionChannel

    hvega Graphics.Vega.VegaLite

    Axis properties used when encoding with a position channel. For no axis, provide an empty list.

  3. PBand :: Double -> PositionChannel

    hvega Graphics.Vega.VegaLite

    Specify the mark position or size relative to the band size. The value is in the range 0 to 1, inclusive. For rectangular-based marks (Rect, Bar, and Image), the value is the scale factor relative to the band width (or height), or the time unit interval. For non-rectangular marks, the relative position on a band of a stacked, binned, time unit, or band scale is used. A value of 0 positions the band at the beginning of the band, and 1 at the end.

  4. PBin :: [BinProperty] -> PositionChannel

    hvega Graphics.Vega.VegaLite

    Discretize numeric values into bins when encoding with a position channel. For example, to encode a frequency histogram with bins every 5 units:

    enc = encoding
    . position X [ PName "x"
    , PmType Ordinal
    , PBin [Step 5]
    ]
    . position Y [ PmType Quantitative
    , PAggregate Count
    ]
    
    

  5. PBinned :: PositionChannel

    hvega Graphics.Vega.VegaLite

    Indicate that the data encoded with position is already binned.

  6. PDatum :: DataValue -> PositionChannel

    hvega Graphics.Vega.VegaLite

    Set a position to an arbitrary data value. Useful for placing items at a specific point in the data space. To place in data screen space use PNumber.

  7. PEdges :: Double -> Double -> Double -> Double -> Padding

    hvega Graphics.Vega.VegaLite

    Specify the padding for the left, top, right, and bottom edges.

  8. PHeight :: PositionChannel

    hvega Graphics.Vega.VegaLite

    Set the position to the height of the enclosing data space. Useful for placing a mark relative to the bottom edge of a view.

  9. PImpute :: [ImputeProperty] -> PositionChannel

    hvega Graphics.Vega.VegaLite

    Set the imputation rules for a position channel. See the Vega-Lite impute documentation.

  10. PMMarker :: [MarkProperty] -> PointMarker

    hvega Graphics.Vega.VegaLite

    The properties of the marks to be shown at the points. Use an empty list to use a filled point with default properties.

Page 710 of many | Previous | Next