Virtual Method

OmniPlotSeriesBuilderappend_value_color_stop

Declaration

void
append_value_color_stop (
  OmniPlotSeriesBuilder* self,
  gdouble value,
  guint32 color
)

Description

Append a gradient color stop for value-dependent coloring.

Adding at least one stop enables value-dependent coloring, overriding the default color of the series.

The color stops must be added in the increasing order of values. The colors for values falling in-between are determined by interpolating the adjacent color stops. Add two stops with an identical value to create discontinuity.

Special colors

The following special color values are supported:

Parameters

value

Type: gdouble

No description available.

color

Type: guint32

No description available.