DisplayLegend: Boolean;
The DisplayLegend property determines table legend visibility in express report working area.
Use JSON or the setDisplayLegend method to set the property value, and the getDisplayLegend method to get the property value.
Available values:
True. Default value. Table legend is displayed.
False. Table legend is not displayed.
Executing the example requires that the HTML page contains the EaxGrid component named eaxGrid (see Example of Creating the EaxGrid Component). The repository must also contain an express report. The express report must contain a table, for which the Background Color metric is determined. A legend must be displayed only for the Background Color table metric.
eaxGrid.Rendered.add(function () { eaxGrid.setDisplayLegend(false); eaxGrid.updateSize(); });
After executing the example the table legend is hidden.
See also: