Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
kohesco
Active Contributor
542

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:

  1. ICON_CHART_PIE
  2. ICON_CHART_LINE
  3. ICON_CHART_RADAR
  4. ICON_CHART_BAR
  5. ICON_CHART_COLUMN
  6. ICON_CHART_BUBBLE

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();

Labels in this area