Back to Devexpress

ChoroplethMapItem Class

dashboard-js-devexpress-dot-dashboard-dot-model-2214bbf2.md

latest7.3 KB
Original Source

ChoroplethMapItem Class

A Choropleth Map dashboard item that colors areas depending on the provided values.

Declaration

ts
export class ChoroplethMapItem extends MapItem

Remarks

The Choropleth Map dashboard item allows you to colorize required areas in proportion to the provided values. For instance, you can visualize a sales amount or population density.

See Web Dashboard - Creating a Choropleth Map to learn more about the Choropleth Map.

Inherited Members

area

colorScheme

coloringOptions

componentName

customProperties

customShapefile

dataItems

dataMember

dataSource

disposed

filterString

formatRules

hiddenDimensions

hiddenMeasures

interactivityOptions

isDisposed

isMasterFilterCrossDataSource

itemType

lockNavigation

name

parentContainer

shapeTitleAttributeName

showCaption

tooltipMeasures

viewport

visibleDataFilterString

dispose

getInfo

getUniqueNamePrefix

Inheritance

SerializableModel TypedSerializableModel DashboardItem DataDashboardItem MapItem ChoroplethMapItem

constructor

Initializes a new instance of the ChoroplethMapItem class.

Declaration

ts
constructor(
    modelJson?: any,
    serializer?: DevExpress.Analytics.Utils.ModelSerializer
)

Parameters

NameTypeDescription
modelJsonany

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

| | serializer | ModelSerializer |

An object used for dashboard deserialization. Do not pass this parameter directly.

|

Properties

attributeDimension Property

Declaration

ts
attributeDimension: ko.Observable<DevExpress.Dashboard.Model.Dimension>

Property Value

Type
Observable<Dimension>

attributeName Property

Declaration

ts
attributeName: ko.Observable<string>

Property Value

Type
Observable<string>

choroplethMapTypesMap Property

Declaration

ts
static choroplethMapTypesMap: {
    ValueMap: {
        constructor: typeof DevExpress.Dashboard.Model.ValueMap;
        displayName: string;
        icon: string;
    };
    DeltaMap: {
        constructor: typeof DevExpress.Dashboard.Model.DeltaMap;
        displayName: string;
        icon: string;
    };
}

Property Value

NameType
DeltaMap{constructor: typeof DeltaMap, displayName: string, icon: string}
ValueMap{constructor: typeof ValueMap, displayName: string, icon: string}

includeSummaryValueToShapeTitle Property

Declaration

ts
includeSummaryValueToShapeTitle: ko.Observable<boolean>

Property Value

Type
Observable<boolean>

maps Property

Declaration

ts
maps: ko.ObservableArray<DevExpress.Dashboard.Model.ChoroplethMap>

Property Value

Type
ObservableArray<ChoroplethMap>

tooltipAttributeName Property

Declaration

ts
tooltipAttributeName: ko.Observable<string>

Property Value

Type
Observable<string>