Hi Angel Alberto,
It is possible to select multiple dimensions using the setDataSelection() method. This can be used as a combination of both dimensions as well as measures, passing the values as a ResultSet in JSON format. The appropriate syntax would be as shown below:
CHART_NAME.setDataSelection({ "<Measure/Dimension>":"<Value>", "<Measure/Dimension>":"<Value>" });
Please note that the technical names of the measures as well as the dimensions are to be used. An example of this for selecting a measure as well as the dimension is shown below:
CHART_1.setDataSelection({
"006EI4ZXZALDW630LQFB449Y4": "006EI4ZXZALDW630LQFB44G9O",
"ZOILPROD":"FO"
});
I hope this helps.
Thanks and Regards.
Eshwar Prasanna