GraphFieldConfig
Constructor
Methods
build
Builds the object.
def build() -> common.GraphFieldConfig
axis_border_show
def axis_border_show(axis_border_show: bool) -> typing.Self
axis_centered_zero
def axis_centered_zero(axis_centered_zero: bool) -> typing.Self
axis_color_mode
def axis_color_mode(axis_color_mode: common.AxisColorMode) -> typing.Self
axis_grid_show
def axis_grid_show(axis_grid_show: bool) -> typing.Self
axis_label
def axis_label(axis_label: str) -> typing.Self
axis_placement
def axis_placement(axis_placement: common.AxisPlacement) -> typing.Self
axis_soft_max
def axis_soft_max(axis_soft_max: float) -> typing.Self
axis_soft_min
def axis_soft_min(axis_soft_min: float) -> typing.Self
axis_width
def axis_width(axis_width: float) -> typing.Self
bar_alignment
def bar_alignment(bar_alignment: common.BarAlignment) -> typing.Self
bar_max_width
def bar_max_width(bar_max_width: float) -> typing.Self
bar_width_factor
def bar_width_factor(bar_width_factor: float) -> typing.Self
draw_style
def draw_style(draw_style: common.GraphDrawStyle) -> typing.Self
fill_below_to
def fill_below_to(fill_below_to: str) -> typing.Self
fill_color
def fill_color(fill_color: str) -> typing.Self
fill_opacity
def fill_opacity(fill_opacity: float) -> typing.Self
gradient_mode
def gradient_mode(gradient_mode: common.GraphGradientMode) -> typing.Self
hide_from
def hide_from(hide_from: cogbuilder.Builder[common.HideSeriesConfig]) -> typing.Self
insert_nulls
def insert_nulls(insert_nulls: typing.Union[bool, float]) -> typing.Self
line_color
def line_color(line_color: str) -> typing.Self
line_interpolation
def line_interpolation(line_interpolation: common.LineInterpolation) -> typing.Self
line_style
def line_style(line_style: cogbuilder.Builder[common.LineStyle]) -> typing.Self
line_width
def line_width(line_width: float) -> typing.Self
point_color
def point_color(point_color: str) -> typing.Self
point_size
def point_size(point_size: float) -> typing.Self
point_symbol
def point_symbol(point_symbol: str) -> typing.Self
scale_distribution
def scale_distribution(scale_distribution: cogbuilder.Builder[common.ScaleDistributionConfig]) -> typing.Self
show_points
def show_points(show_points: common.VisibilityMode) -> typing.Self
span_nulls
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
def span_nulls(span_nulls: typing.Union[bool, float]) -> typing.Self
stacking
def stacking(stacking: cogbuilder.Builder[common.StackingConfig]) -> typing.Self
thresholds_style
def thresholds_style(thresholds_style: cogbuilder.Builder[common.GraphThresholdsStyleConfig]) -> typing.Self
def transform(transform: common.GraphTransform) -> typing.Self
See also