[]
        
(Showing Draft Content)

C1.Web.Mvc.TagHelpers.ColorScaleTagHelper

ColorScaleTagHelper Class

ITagHelper implementation for ColorScale.

Namespace: C1.Web.Mvc.TagHelpers
Assembly: C1.AspNetCore.Mvc.dll
Syntax
[HtmlTargetElement("c1-color-scale")]
public class ColorScaleTagHelper : SettingTagHelper<ColorScale>, ITagHelper, ITagHelperComponent

Constructors

Name Description
ColorScaleTagHelper()

Properties

Name Description
Binding

Configurates Binding. Sets the binding property or function.

CollectionName

Gets the collection name.

ColorUnknown

Configurates ColorUnknown. Get or sets the color for undefined values (NaN or undefined).

Colors

Configurates Colors. Sets the array of colors (palette) used for transformation.

Format

Configurates Format. Get or sets the format string for legend items.

Scale

Configurates Scale. Sets the scaling function.

Methods

Name Description
GetObjectInstance(object)

Gets the T instance.