ASP.NET Core MVC Controls | ComponentOne
In This Topic
    Legend Class
    In This Topic
    File
    wijmo.chart.js
    Module
    wijmo.chart

    Represents the chart legend.

    Constructor

    Properties

    Constructor

    constructor

    constructor(chart: FlexChartBase): Legend
    

    Initializes a new instance of the Legend class.

    Parameters
    Returns
    Legend

    Properties

    maxSize

    Gets or sets the maximum legend size (width for left or right position and height for top or bottom position). The size can be specified in pixels: maxSize = '100px' or percents: maxSize = '50%'.

    Type
    number

    orientation

    Gets or sets a value that determines the orientation of the legend.

    Type
    Orientation

    position

    Gets or sets a value that determines whether and where the legend appears in relation to the plot area.

    Type
    Position

    title

    Gets or sets a value that determines the title of the legend.

    Type
    string

    titleAlign

    Gets or sets a value that determines the align value of the legend. The value should be 'left', 'center' or 'right'.

    Type
    string