Skip to main content
cngx-src documentation

withChartRendererFactory

Functioncommon/chart/rendererv0.1.0

projects/common/chart/renderer/renderer-factory.ts

Description#

Replace the renderer factory - e.g. to force one backend or add a third. Consumers wanting a heuristic swap supply a custom factory here (the heuristic-swap axis ships no dedicated token at v2).

Signature#

withChartRendererFactory(fn: CngxChartRendererFactory)

Parameters#

Returns#

CngxChartRendererFeature