Skip to content

PlotGroupBuilder

ClassChartGuruChartGuru
public class PlotGroupBuilder

Builder for constructing a PlotGroup with a subset of ChartBuilder methods.

public PlotGroupBuilder Add(IChartMark mark)

Appends a non-null mark to the group being built.

Parameters

NameType
markChartGuru.IChartMark

Returns

ChartGuru.PlotGroupBuilder

public PlotGroupBuilder AddRange(IEnumerable<IChartMark> marks)

Appends each non-null mark from the sequence to the group being built.

Parameters

NameType
marksSystem.Collections.Generic.IEnumerable{ChartGuru.IChartMark}

Returns

ChartGuru.PlotGroupBuilder

public PlotGroupBuilder ForegroundStyle(Color color)

Configures the fill or stroke color used by generated marks; selector overloads resolve the style separately for each datum.

Parameters

NameType
colorUnityEngine.Color

Returns

ChartGuru.PlotGroupBuilder

public PlotGroupBuilder ForegroundStyle(PlottableValueRef value)

Configures the fill or stroke color used by generated marks; selector overloads resolve the style separately for each datum.

Parameters

NameType
valueChartGuru.PlottableValueRef

Returns

ChartGuru.PlotGroupBuilder

public PlotGroupBuilder Series(PlottableValueRef value)

Assigns the series key inherited by marks that do not define their own series.

Parameters

NameType
valueChartGuru.PlottableValueRef

Returns

ChartGuru.PlotGroupBuilder

public PlotGroupBuilder ZIndex(int value)

Sets the draw-order value inherited by marks whose z-index is zero.

Parameters

NameType
valueSystem.Int32

Returns

ChartGuru.PlotGroupBuilder

public PlotGroupBuilder LineStyle(StrokeStyle style)

Configures line width and dash behavior; selector overloads resolve the stroke separately for each datum.

Parameters

NameType
styleChartGuru.StrokeStyle

Returns

ChartGuru.PlotGroupBuilder

public PlotGroup Build()

Returns the configured plot group. The returned instance remains the builder’s backing group.

Returns

ChartGuru.PlotGroup

public PlotGroupBuilder()