Skip to content

ChartAuthoringBinder

ClassChartGuruChartGuru
public static class ChartAuthoringBinder

Applies a ChartGuru.ChartAuthoringState onto a ChartGuru.Chart + ChartGuru.ChartRenderer pair. Replaces the duplicated RebuildChart/Initialize bodies previously inlined in ChartGuru.ChartComponent and ChartGuru.ChartGraphic by composing the existing ChartGuru.ChartConfigurationApplicator and ChartGuru.ChartAuthoringStyleApplicator helpers.

Apply(Chart, ChartRenderer, ChartAuthoringState)

Section titled “Apply(Chart, ChartRenderer, ChartAuthoringState)”
public static void Apply(Chart chart, ChartRenderer renderer, ChartAuthoringState state)

Applies the given state to chart + renderer. Either parameter may be null; the matching subset is still applied.

Parameters

Name Type Description
chart ChartGuru.Chart
renderer ChartGuru.ChartRenderer
state ChartGuru.ChartAuthoringState