Pipes modifiers on Pipes charts
Last updated
Last updated
Standard charts listen to Pipes modifiers.
Some modifiers are available as meta parameters and some are available as simple variables on the event itself (starting with __
).
The @meta
parameters must be used on the body of a query, for example => @meta value as property
.
@meta
modifiers can be set globally or individually.
=> @meta "red" as color
will make all series red.=> @meta newmap("my-series-name", "red") as color
will make "my-series-name" red.
Defines the y axes configurations for the chart.
A formatted string that will be used to display the field value.
Changes series zIndex, use in case you want to a make a field overlap another.
Changes hide selected series on the chart legend.
@meta.zones
Create value thresholds that defines a new color for the field above that value.
@meta.color
Changes a field color
@meta.lineWidth
Defines the line width for the selected series.
@meta.legendIndex
Defines the legend and tooltip order on charts
@meta.dashStyle
Changes the default dash (Solid) style for series.
Accepted dashStyle values:
Solid
Dash (DashDot)
Dot
LongDash (LongDashDot, LongDashDotDot)
ShortDash (ShortDashDot, ShortDashDotDot)
ShortDot
@meta.polygon
@meta.enableDataGapsReport and @meta.dataGapsReportThreshold
This query generates the chart in the image below.
Property
Type
Supported charts
Default
Since
@meta.color
or __color
string or map
temporal, cartesian, bar, column, funnel, pie, value
@meta on 2.25.2
@meta.dashStyle
or __dashStyle
string
temporal, cartesian
@meta on 2.25.2
@meta.lineWidth
or __lineWidth
integer
temporal, cartesian
@meta on 2.25.2
__markerRadius
integer
temporal, cartesian
__markerEnabled
boolean
temporal, cartesian
__markerSymbol
string
temporal, cartesian
__dataLabelEnabled
boolean
temporal, cartesian
__description
string
temporal, cartesian
__wstart
long
temporal
__xAxisMin
long
cartesian
__xAxisMax
long
cartesian
__clear
boolean or map
temporal, cartesian
__syncTooltipField
string
temporal, cartesian
2.15.3
__formatted
string or map
temporal, cartesian, bar, column, funnel, pie
2.17.0
__columnWidth
integer
ranking, feed
2.19.3
__uid
string
feed
2.20.6
__title
string
temporal, cartesian
3.9.0
@meta.color
map
temporal, cartesian
2.25.2
@meta.enableDataGapsReport
boolean
temporal
2.28.0
@meta.dataGapsReportThreshold
long
temporal
60000
2.28.0
@meta.zIndex
map
temporal, cartesian
2.25.2
@meta.zones
map<seq<obj>>
temporal, cartesian
2.25.2
@meta.legendIndex
map
temporal, cartesian
2.25.2
@meta.hideInLegend
string or map
temporal, cartesian
2.25.2
@meta.disableStateMarker
boolean
temporal, cartesian
2.25.8
@meta.disableMouseTracking
boolean
temporal, cartesian
2.25.2
@meta.lineColor
string
temporal, cartesian
2.25.2
@meta.zoneAxis
x
or y
temporal, cartesian
2.25.2
@meta.polygon
map
cartesian
2.25.2
@meta.yAxis
seq<map>
temporal, cartesian
2.27.0
@meta.chartOptions
map (ref)
temporal, cartesian, column, bar, gauge, funnel, pie
@meta.legendIndex
map(name, order)
temporal, cartesian, column, bar, gauge, funnel, pie