Class: ThemeGraphText

SuperMap.ThemeGraphText

The ThemeGraphText class.

new SuperMap.ThemeGraphText(options)

ThemeGraphText.js, line 6
Name Type Description
options Object

The parameters.

Name Type Default Description
graphTextDisplayed boolean false optional

Whether to display the text label on the graph map.

graphTextFormat SuperMap.ThemeGraphTextFormat SuperMap.ThemeGraphTextFormat.CAPTION optional

The ThemeGraphTextFormat.

graphTextStyle SuperMap.ServerTextStyle optional

The text label style on the graph map.

Members

graphTextDisplayedboolean

Whether to display the text label on the graph map.

The ThemeGraphTextFormat, such as the percentage, title, real value, title+percentage, tile+real value, etc.

Default Value:
SuperMap.ThemeGraphTextFormat.CAPTION

graphTextStyleSuperMap.ServerTextStyle

The text label style on the graph map.

Methods

SuperMap.ThemeGraphText.fromObj(obj){SuperMap.ThemeGraphText}

ThemeGraphText.js, line 59

Getting the style class of the statistical graph text from the incoming object.

Name Type Description
obj Object

The incoming object

Returns:
Type Description
SuperMap.ThemeGraphText ThemeGraphText object.

destroy()

ThemeGraphText.js, line 45

Disposes the resource. The property that references resource is set to null.