How to create a chart selector list
The goal of this document to explain how you can make an charttype selector. When we click on the chart tab we want to see a list of possible charttypes selectable for the user.
we create a POPUP component, inserted a GRID component ROW=6 COLUMN=1
Set WIDTH, Height and the positioning of your popup, in the grid you can set width/height to auto and the other parameters to 0.
Put in every column a BUTTON component, set as class:
BUTTON >> Event scripting:
CHART.setChartType(ChartType.PIE); respectively for each button.
If you want the popup disappear after selection set also: POPUP.hide();
On the footer-graph-Icon we have scripted on event: POPUP.show();
On the footer-table-Icon we have scripted on event: POPUP.hide();