ChartBackgroundBinder
public static class ChartBackgroundBinderSingle-source-of-truth applier for background overrides.
Replaces the duplicated SyncBackgroundOverridesToRenderer methods that
previously lived in both ChartGuru.ChartComponent and ChartGuru.ChartGraphic.
Methods
Section titled “Methods”
Apply(ChartRenderer, in BackgroundOverrideState)
Section titled “Apply(ChartRenderer, in BackgroundOverrideState)”public static void Apply(ChartRenderer renderer, in BackgroundOverrideState state)Applies the given state onto renderer.
When ChartGuru.BackgroundOverrideState.Enabled is false all four override
slots are cleared.
Parameters
| Name | Type | Description |
|---|---|---|
renderer |
ChartGuru.ChartRenderer | |
state |
ChartGuru.BackgroundOverrideState |