cancel
Showing results for 
Search instead for 
Did you mean: 

How to change chart structure using script in SAP Analytics Cloud

e2tech_ravi
Discoverer
0 Kudos

Hi,

How to change chart structure (comparison type [ Bar/Column] to [Stacked Bar/Column]) through scripting in SAP Analytics Cloud(Analytic Application).

Do we need to create two separate charts for same Comparison type chart ?

Thanks ,

Ravindra

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member411491
Active Participant
0 Kudos

Hi Ravindra,

This will be very easy if you use two different charts and make the visibility as per your requirement.

write code onClink event or make checkbox or drop-down with a list of different structure.

Base of selection hides other charts and make visible desired charts.

Chart1.setVisible(True);

Chart2.setVisible(False);

Other way, you cant change the chart type from bar chart to Stacked Bar/Column using script but by script, you can add/ remove measures and dimentions.

Regards,

Sanjay Guha