GraphFieldConfigBuilder
Constructor
new GraphFieldConfigBuilder()
Methods
build
Builds the object.
axisBorderShow
axisBorderShow(axisBorderShow: boolean)
axisCenteredZero
axisCenteredZero(axisCenteredZero: boolean)
axisColorMode
axisColorMode(axisColorMode: common.AxisColorMode)
axisGridShow
axisGridShow(axisGridShow: boolean)
axisLabel
axisLabel(axisLabel: string)
axisPlacement
axisPlacement(axisPlacement: common.AxisPlacement)
axisSoftMax
axisSoftMax(axisSoftMax: number)
axisSoftMin
axisSoftMin(axisSoftMin: number)
axisWidth
axisWidth(axisWidth: number)
barAlignment
barAlignment(barAlignment: common.BarAlignment)
barMaxWidth
barMaxWidth(barMaxWidth: number)
barWidthFactor
barWidthFactor(barWidthFactor: number)
drawStyle
drawStyle(drawStyle: common.GraphDrawStyle)
fillBelowTo
fillBelowTo(fillBelowTo: string)
fillColor
fillColor(fillColor: string)
fillOpacity
fillOpacity(fillOpacity: number)
gradientMode
gradientMode(gradientMode: common.GraphGradientMode)
hideFrom
hideFrom(hideFrom: cog.Builder<common.HideSeriesConfig>)
insertNulls
insertNulls(insertNulls: boolean | number)
lineColor
lineColor(lineColor: string)
lineInterpolation
lineInterpolation(lineInterpolation: common.LineInterpolation)
lineStyle
lineStyle(lineStyle: cog.Builder<common.LineStyle>)
lineWidth
lineWidth(lineWidth: number)
pointColor
pointColor(pointColor: string)
pointSize
pointSize(pointSize: number)
pointSymbol
pointSymbol(pointSymbol: string)
scaleDistribution
scaleDistribution(scaleDistribution: cog.Builder<common.ScaleDistributionConfig>)
showPoints
showPoints(showPoints: common.VisibilityMode)
spanNulls
Indicate if null values should be treated as gaps or connected.
When the value is a number, it represents the maximum delta in the
X axis that should be considered connected. For timeseries, this is milliseconds
spanNulls(spanNulls: boolean | number)
stacking
stacking(stacking: cog.Builder<common.StackingConfig>)
thresholdsStyle
thresholdsStyle(thresholdsStyle: cog.Builder<common.GraphThresholdsStyleConfig>)
transform(transform: common.GraphTransform)
See also