Is there an example of programatically adding and removing a measure to the slice?
Thank you for your question.
Our team recommends checking out the
runQuery method provided by the component. It allows reorganizing the hierarchies on the grid and composing a new report that is based on the current data.
More information about the API call can be found following the link: runQuery method.
Also, please check out an example demonstrating usage of the mentioned API.
We hope it works for you.
Please contact us in case additional questions arise.
Thank you Team for the great product and great support! Will highly recommend!