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.
PAggregate :: Operation -> PositionChannelhvega 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 ]
PAxis :: [AxisProperty] -> PositionChannelhvega Graphics.Vega.VegaLite Axis properties used when encoding with a position channel. For no axis, provide an empty list.
PBand :: Double -> PositionChannelhvega 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.
PBin :: [BinProperty] -> PositionChannelhvega 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 ]
-
hvega Graphics.Vega.VegaLite Indicate that the data encoded with position is already binned.
PDatum :: DataValue -> PositionChannelhvega 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.
PEdges :: Double -> Double -> Double -> Double -> Paddinghvega Graphics.Vega.VegaLite Specify the padding for the left, top, right, and bottom edges.
-
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.
PImpute :: [ImputeProperty] -> PositionChannelhvega Graphics.Vega.VegaLite Set the imputation rules for a position channel. See the Vega-Lite impute documentation.
PMMarker :: [MarkProperty] -> PointMarkerhvega 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.