WebsiteLive demosGuidesSource
  • Preparing search index...
  • The search index is not available
OpenAlgo Charts API - v2.6.9
  • OpenAlgo Charts API
  • index
  • comparisonController

Function comparisonController

  • comparisonController(
        chart: ComparisonChartHost,
        options?: ComparisonControllerOptions,
    ): ComparisonController
  • The controller for a chart, created on first use. Use it to change the mode for the whole chart, to list what is on it, or to clear it.

    A chart has one, so a later call returns the same controller, with the mode and baseline it passes applied through setMode and setBaseline. An attach helper merges a repeated request this way; a controller that owns state a second owner would fight over (alerts, a replay group) refuses one.

    Parameters

    • chart: ComparisonChartHost
    • Optionaloptions: ComparisonControllerOptions

    Returns ComparisonController

    • Defined in src/compare/controller.ts:654

Settings

Member Visibility
WebsiteLive demosGuidesSource
OpenAlgo Charts API - v2.6.9
  • Loading...

Generated using TypeDoc

Build your next market experience.Explore live demosAPI definitions generated from the current source with every website deployment.