Preparing search index...
The search index is not available dc.js
Defined in src/charts/legend.ts:20
Constructors
constructor
new Legend( ) : Legend
Defined in src/charts/legend.ts:35
Methods
auto Item Width
auto Item Width( ) : boolean
Returns boolean
Defined in src/charts/legend.ts:171
auto Item Width( autoItemWidth: boolean ) : Legend
Defined in src/charts/legend.ts:172
gap
gap( ) : number
Returns number
Defined in src/charts/legend.ts:91
gap( gap: number ) : Legend
Defined in src/charts/legend.ts:92
highlight Selected
highlight Selected( ) : boolean
Returns boolean
Defined in src/charts/legend.ts:105
highlight Selected( highlightSelected: boolean ) : Legend
Parameters
highlightSelected: boolean
Defined in src/charts/legend.ts:106
horizontal
horizontal( ) : boolean
Returns boolean
Defined in src/charts/legend.ts:131
horizontal( horizontal: boolean ) : Legend
Defined in src/charts/legend.ts:132
item Height
item Height( ) : number
Returns number
Defined in src/charts/legend.ts:118
item Height( itemHeight: number ) : Legend
Defined in src/charts/legend.ts:119
item Width
item Width( ) : number
Returns number
Defined in src/charts/legend.ts:157
item Width( itemWidth: number ) : Legend
Defined in src/charts/legend.ts:158
legend Width
legend Width( ) : number
Returns number
Defined in src/charts/legend.ts:144
legend Width( legendWidth: number ) : Legend
Defined in src/charts/legend.ts:145
max Items
max Items( ) : number
Returns number
Defined in src/charts/legend.ts:211
max Items( maxItems: number ) : Legend
Defined in src/charts/legend.ts:212
render
render( ) : void
Returns void
Defined in src/charts/legend.ts:227
x
x( ) : number
Returns number
Defined in src/charts/legend.ts:65
x( x: number ) : Legend
Defined in src/charts/legend.ts:66
y
y( ) : number
Returns number
Defined in src/charts/legend.ts:78
y( y: number ) : Legend
Defined in src/charts/legend.ts:79
Legend is a attachable widget that can be added to other dc charts to render horizontal legend labels.
Examples:
Example