setEaxTitleVisible (visible: Boolean)
visible. Determines whether visualizer header: true - header is displayed, false - header is hidden.
The setEaxTitleVisible method shows or hides visualizer title.
Visualizers are used to display information from sources allowing analysis and setup of displayed data. Available visualizers: table, chart, map, bubble chart, bubble tree, and tree map.
To execute the example the page must contain a dashboard designed named kapBox, and the currentBlock variable must be defined in the page. This variable must contain selected dashboard block (see Kap.KapBox). The BODY tag must contain a DIV element with the "checkBox" identifier. Add a checkbox, selecting or deselecting which will show or hide title of selected visualizer:
var eaxTitleCheckBox = new PP.Ui.CheckBox({ ParentNode: "checkBox", Content: "Show/hide visualizer title", CheckedChanged: function () { currentBlock.setEaxTitleVisible(eaxTitleCheckBox.getChecked()); } });
After executing the example the Show/Hide Visualizer Title checkbox is added to the page. Selecting or deselecting the checkbox shows or hides title of selected visualizer.
See also: