Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
transformSelection :: VegaLitehvega Graphics.Vega.Tutorials.VegaLite For example, we can adjust the visualization to select all stars in the same cluster, which is useful in this case since the Blanco1 and IC2391 clusters occupy the same space in the magnitude-parallax plane. This is invoked simply by adding the Fields constructor to the select parameters naming the fields onto which we wish to project our selection. Additionally, we have set the default selection with Empty so that if nothing is selected, the selection is empty (as we have previously seen, without this the default selection is the entire encoded dataset). Open this visualization in the Vega Editor
let sel = selection . select "pick" Single [ Fields [ "Cluster" ] , Empty , Nearest True ] in toVegaLite (sel [] : selectionProperties "pick" "Select a point, select a cluster")
ADFormat :: Text -> AriaDescriptionChannelhvega Graphics.Vega.VegaLite Formatting pattern for descriptions. To distinguish between formatting as numeric values and data/time values, additionally use ADFormatAsNum, ADFormatAsTemporal, and ADFormatAsCustom.
ADFormatAsCustom :: Text -> AriaDescriptionChannelhvega Graphics.Vega.VegaLite The custom format type for use with with ADFormat.
ADFormatAsNum :: AriaDescriptionChannelhvega Graphics.Vega.VegaLite The marks should be formatted as numbers. Use a d3 numeric format string with ADFormat.
ADFormatAsTemporal :: AriaDescriptionChannelhvega Graphics.Vega.VegaLite The marks should be formatted as dates or times. Use a d3 date/time format string with ADFormat.
AxFormat :: Text -> AxisPropertyhvega Graphics.Vega.VegaLite Formatting pattern for axis values. To distinguish between formatting as numeric values and data/time values, additionally use AxFormatAsNum, AxFormatAsTemporal, or AxFormatAsCustom. When used with a custom formatType, this value will be passed as "format" alongside "datum.value" to the registered function.
AxFormatAsCustom :: Text -> AxisPropertyhvega Graphics.Vega.VegaLite The custom format type for use with with AxFormat.
-
hvega Graphics.Vega.VegaLite Facet headers should be formatted as numbers. Use a d3 numeric format string with AxFormat.
AxFormatAsTemporal :: AxisPropertyhvega Graphics.Vega.VegaLite Facet headers should be formatted as dates or times. Use a d3 date/time format string with AxFormat.
type
BuildTransformSpecs = [TransformSpec] -> [TransformSpec]hvega Graphics.Vega.VegaLite Represent the functions that can be chained together and sent to transform.