ChartSourceQuery
ChartSourceQuery
JSON Example
{
"name": "string",
"query": "string",
"queryType": "string",
"querybuilderEnabled": false,
"querybuilderSerialization": "string",
"sourceDescription": "string",
"disabled": false,
"sourceColor": "string",
"secondaryAxis": false,
"scatterPlotSource": "string"
}
string
name
Required
Name of the source
string
query
Required
Query expression to plot on the chart
string
queryType
Optional
Query type of the source
Possible values are : WQL, PROMQL, HYBRID,
boolean
querybuilderEnabled
Optional
Whether or not this source line should have the query builder enabled
string
querybuilderSerialization
Optional
Opaque representation of the querybuilder
string
sourceDescription
Optional
A description for the purpose of this source
boolean
disabled
Optional
Whether the source is disabled
string
sourceColor
Optional
The color used to draw all results from this source (auto if unset)
boolean
secondaryAxis
Optional
Determines if this source relates to the right hand Y-axis or not
string
scatterPlotSource
Optional
For scatter plots, does this query source the X-axis or the Y-axis
Possible values are : X, Y,