Search results

LegendSettingsModel API in JavaScript TreeMap API control

Interface for a class LegendSettings

Properties

alignment

Alignment

Sets and gets the alignment of legend in the treemap component.

background

string

Sets and gets the background color of legend in the treemap component.

border

BorderModel

Sets and gets the options for customizing the color and width of the border of the legend in the treemap component.

fill

string

Sets and gets the shape color of legend in the treemap component.

height

string

Sets and gets the height of legend in the treemap component.

imageUrl

string

Sets and gets the URL path of the legend shapes rendered as image in the treemap component.

invertedPointer

boolean

Enables or disables the pointer for interactive legend in the treemap component.

labelDisplayMode

LabelIntersectAction

Sets and gets the label intersect action of legend in the treemap component.

labelPosition

LabelPlacement

Sets and gets the label position for interactive legend in the treemap component.

location

Location

Sets and gets the location of the legend using x and y values in the treemap component.

mode

LegendMode

Sets and gets the mode of legend in the treemap component. The modes available are default and interactive modes.

opacity

number

Sets and gets the opacity of legends in the treemap component.

orientation

LegendOrientation

Sets and gets the orientation of legend in the treemap component.

position

LegendPosition

Sets and gets the position of legend in the treemap component.

removeDuplicateLegend

boolean

Enables or disables to remove the duplicate legend item.

shape

LegendShape

Sets and gets the shape of legend in the treemap component.

shapeBorder

BorderModel

Sets and gets the options for customizing the color and width of the border of the legend shape in the treemap.

shapeHeight

number

Sets and gets the height of the shapes of legend in the treemap component.

shapePadding

number

Sets and gets the shape padding of legend in the treemap component.

shapeWidth

number

Sets and gets the width of the shapes in legend in the treemap component.

showLegendPath

string

Sets and gets the visibility state of the legend in the treemap component.

textStyle

FontModel

Sets and gets the options to customize the text style of legend in the treemap component.

title

CommonTitleSettingsModel

Sets and gets the options to customize the title of the legend in the treemap component.

titleStyle

FontModel

Sets and gets the options to customize the text style of the legend in the treemap component.

valuePath

string

Sets and gets the value path from the data source to render legend in the treemap component.

visible

boolean

Enables or disables the visibility of legend in the treemap component.

width

string

Sets and gets the width of legend in the treemap component.