Angular 2 component for the wijmo.chart.map.ColorScale class.
The wj-color-scale component must be contained in one of the following components: wijmo.angular2.chart.map.WjScatterMapLayer , wijmo.angular2.chart.map.WjGeoMapLayer or wijmo.angular2.chart.map.WjGeoGridLayer.
Use the wj-color-scale component to add ColorScale controls to your Angular 2 applications. For details about Angular 2 markup syntax, see Angular 2 Markup.
The WjColorScale component is derived from the ColorScale class and inherits all its properties, events and methods.
Gets or sets the binding property or function.
Get or sets the color for undefined values (NaN or undefined).
Gets or sets the array of colors (palette) used for transformation.
Get or sets the format string for legend items.
This event is triggered after the component has been initialized by Angular, that is all bound properties have been assigned and child components (if any) have been initialized.
Indicates whether the component has been initialized by Angular. Changes its value from false to true right before triggering the initialized event.
Gets or sets the scaling function.
Gets or sets a name of a property that this component is assigned to. Default value is 'colorScale'.
If you create a custom component inherited from a Wijmo component, you can override this method and perform necessary initializations that you usually do in a class constructor. This method is called in the last line of a Wijmo component constructor and allows you to not declare your custom component's constructor at all, thus preventing you from a necessity to maintain constructor parameters and keep them in synch with Wijmo component's constructor parameters.