VisualizationManager
An object with methods used to register and unregister visualizers for individual question types.
Properties
Methods
Events
Returns a constructor for an alternative visualizer selector.
- Type:
- () => any
- Implemented in:
- VisualizationManager
- See also:
- registerAltVisualizerSelector
Returns all visualizer constructors for a specified question type.
- Type:
- (questionType: string) => {}
- Parameters:
- Implemented in:
- VisualizationManager
Registers an alternative visualizer selector.
- Type:
- (constructor: any) => void
- Parameters:
-
constructor, type: any ,
A function that returns a constructor for an alternative visualizer selector.
- Implemented in:
- VisualizationManager
Registers a visualizer for a specified question type.
- Type:
- (questionType: string, constructor: VisualizerConstructor, index?: any) => void
- Parameters:
-
constructor, type: VisualizerConstructor ,
A function that returns a visualizer constructor to register.
index, type: any ,A zero-based index that specifies the visualizer's position in the visualizer list for the specified question type. Pass
0
to insert the visualizer at the beginning of the list and use it by default. Ifindex
is not specified, the visualizer is added to the end of the list.
- Implemented in:
- VisualizationManager
Unregisters a visualizer for a specified question type.
- Type:
- (questionType: string, constructor: VisualizerConstructor) => void
- Parameters:
-
constructor, type: VisualizerConstructor ,
A function that returns a visualizer constructor to unregister.
- Implemented in:
- VisualizationManager
Obsolete. Pass undefined
to the unregisterVisualizer
method instead.
- Type:
- (constructor: VisualizerConstructor) => void
- Parameters:
-
constructor, type: VisualizerConstructor ,
A function that returns a visualizer constructor to unregister.
- Implemented in:
- VisualizationManager
Copyright © 2024 Devsoft Baltic OÜ. All rights reserved.