JXG.Legend

Class

Legend for chart. Creates a new Legend object. Do not use this constructor to create a legend. Use JXG.Board#create with type Legend instead.

The legend object consists of segments with labels. These segments can be accessed with the property lines of the element.

Attributes

Own

none

Inherited

Members

Own

none

Inherited

Methods

Own

(private) drawVerticalLegend(board, attributes)

Draw a vertical legend.

Parameters

Name Type Description
board String | JXG.Board

The board the legend is drawn on

attributes Object

Attributes of the legend

Details

Source
base/chart.js, line 1373

Inherited

Events

Own

none

Inherited

Parameters

Name Type Description
board String | JXG.Board

The board the new legend is drawn on.

coords Array

Coordinates of the left top point of the legend.

attributes Object

Attributes of the legend

Details

Source
base/chart.js, line 1331

Extends