🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all the hot features!
Get Free Trial

Chart data is not correct after changing multipleMeasures

Courtney Chow asked on November 12, 2019

I’m using Highcharts with the getData method. I create our own checkbox to control the `multipleMeasures` setting, but after changing it either through setReport or setOptions, the chart data does not change accordiingly (except for the first time). By printing out the report object I can see that sometimes after setting the report object, the option field might get lost.

3 answers

Dmytro Zvazhii Dmytro Zvazhii Flexmonster November 12, 2019

Hello Courtney,
Thank you for writing to us.
Please note that multipleMeasures option does not affect getData() response. The multipleMeasures option is only applicable to some of Flexmonster’s native charts (Column, Bar, Line, Scatter, Column line).
Please see the following sample: https://jsfiddle.net/flexmonster/2xoqujba/. The getData() API call returns the data based either on the current slice or on the slice that was passed into getData() API call.
Let us know in case of any other question.

Courtney Chow November 13, 2019


Thanks a lot. Should you update the documentation of `multipleMeasures` to reflect this caveat?

Illia Yatsyshyn Illia Yatsyshyn Flexmonster November 13, 2019

Hello, Courtney,
Thank you for reporting about that drawback.
We will pass your feedback to our team.
Feel free to contact us in case of additional questions.
Kind Regards,

Please login or Register to Submit Answer