EaxBubbleChartView.LegendPosition

Syntax

LegendPosition: String;

Description

The LegendPosition property determines position of bubble chart legend.

Comments

Use the setLegendPosition method to set the property value, and the getLegendPosition method to get the property value. Property value cannot be set from JSON.

The property may contain the following string values: bottom or top - legend position at the top or at the bottom of the bubble chart plot area; left or right - left or right alignment. These values can be combined using the splitter |.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component), and a chart must be loaded in the data area.  Place legend at the left below the bubble chart plot area:

// Get container that contains express report bubble chart
var bubbleChart = expressBox.getDataView().getBubbleChartView();
// Place the legend at the left below the bubble chart plot area
bubbleChart.setLegendPosition("bottom|left");

After executing the example the legend is displayed at the left below the bubble chart plot area:

See also:

EaxBubbleChartView