PlotGroupBuilder
public class PlotGroupBuilderBuilder for constructing a ChartGuru.PlotGroup with a subset of ChartGuru.ChartBuilder methods.
Methods
Section titled “Methods”
Add(IChartMark)
Section titled “Add(IChartMark)”public PlotGroupBuilder Add(IChartMark mark)Appends a non-null mark to the group being built.
Parameters
| Name | Type |
|---|---|
mark |
ChartGuru.IChartMark |
Returns
ChartGuru.PlotGroupBuilder
AddRange(IEnumerable)
Section titled “AddRange(IEnumerable)”public PlotGroupBuilder AddRange(IEnumerable<IChartMark> marks)Appends each non-null mark from the sequence to the group being built.
Parameters
| Name | Type |
|---|---|
marks |
System.Collections.Generic.IEnumerable{ChartGuru.IChartMark} |
Returns
ChartGuru.PlotGroupBuilder
ForegroundStyle(Color)
Section titled “ForegroundStyle(Color)”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
| Name | Type |
|---|---|
color |
UnityEngine.Color |
Returns
ChartGuru.PlotGroupBuilder
ForegroundStyle(PlottableValueRef)
Section titled “ForegroundStyle(PlottableValueRef)”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
| Name | Type |
|---|---|
value |
ChartGuru.PlottableValueRef |
Returns
ChartGuru.PlotGroupBuilder
Series(PlottableValueRef)
Section titled “Series(PlottableValueRef)”public PlotGroupBuilder Series(PlottableValueRef value)Assigns the series key inherited by marks that do not define their own series.
Parameters
| Name | Type |
|---|---|
value |
ChartGuru.PlottableValueRef |
Returns
ChartGuru.PlotGroupBuilder
ZIndex(int)
Section titled “ZIndex(int)”public PlotGroupBuilder ZIndex(int value)Sets the draw-order value inherited by marks whose z-index is zero.
Parameters
| Name | Type |
|---|---|
value |
System.Int32 |
Returns
ChartGuru.PlotGroupBuilder
LineStyle(StrokeStyle)
Section titled “LineStyle(StrokeStyle)”public PlotGroupBuilder LineStyle(StrokeStyle style)Configures line width and dash behavior; selector overloads resolve the stroke separately for each datum.
Parameters
| Name | Type |
|---|---|
style |
ChartGuru.StrokeStyle |
Returns
ChartGuru.PlotGroupBuilder
Build()
Section titled “Build()”public PlotGroup Build()Returns the configured plot group. The returned instance remains the builder’s backing group.
Returns
ChartGuru.PlotGroup
Constructors
Section titled “Constructors”
PlotGroupBuilder()
Section titled “PlotGroupBuilder()”public PlotGroupBuilder()