Base interface for VisualVariables.

interface VisualVariableJsonBase {
    field: string;
    legendOptions?: {
        showLegend?: boolean;
        title?: string;
    };
    normalizationField?: string;
    type: VisualVariableJsonType;
}

Hierarchy (view full)

Properties

field: string

A string value indicating the name of the feature attribute field that contains the data value to render.

legendOptions?: {
    showLegend?: boolean;
    title?: string;
}

Type declaration

  • OptionalshowLegend?: boolean

    Indicates whether to show color/size ramp in the legend.

  • Optionaltitle?: string

    The title of the legend.

normalizationField?: string

String value indicating the name of the attribute field used to normalize the data.

The type of the VisualVariable.