Hi,
Would like to point to the existing example of customizing color palettes: https://jsfiddle.net/flexmonster/xLnrehoz/
I realized that when connected to MongoDB via MongoDB connector, the code in the jsfiddle does not work as pivot.getMembers() does not return the members of that row/column.
Please do advise on what I can do.
Thanks!
Hello, Chern Yu Zi!
Thank you for reaching out to us.
Kindly note that for "api"
, "elasticsearch"
, or "microsoft analysis services"
data source, getMembers()
API call returns the list of members in the method's callback.
We have prepared a JSFiddle to illustrate the idea: https://jsfiddle.net/flexmonster/hzs3y0xk/.
You can check out our docs for more details: https://www.flexmonster.com/api/getmembers/#other-data-source-types.
Regarding the Flexmonster Pivot Charts, we also wanted to mention the approach of changing chart colors via CSS: https://www.flexmonster.com/doc/customizing-pivot-charts/#changing-colors.
Hope you will find our answer helpful.
Kind regards,
Solomiia
Hello, Chern Yu Zi!
Hope you are doing well.
Our team is wondering if you had some time to check the suggested approach to fetch members in the getMembers()
callback. Could you please let us know if members are returned correctly using this approach?
Looking forward to hearing from you.
Kind regards,
Solomiia
Hello, Chern Yu Zi!
Hope you are having a great week.
Just checking in to ask if fetching members in the getMembers()
callback works well for your case.
Looking forward to hearing your feedback.
Regards,
Solomiia
Yes, thanks Solomiia!
This question is now closed