Pricing changes are coming in January. Contact our Sales team to secure the current price for your desired license.

Display as Chart by default

Answered
Youssef Shabo asked on February 21, 2024

Hello all, I'm using flexmonster in my Vite-react app and I've been trying to set the flexmonster to display whatever source of data is connected to display as a chart by default and then the user would be able to change it to a different view but I haven't been able to do so. what's the best approach to solve this issue?
 
Thanks

2 answers

Public
Maksym Diachenko Maksym Diachenko Flexmonster February 22, 2024

Hello, Youssef!

Thank you for your question.
Flexmonster allows showing charts by default after the component is loaded with the viewType options set as "charts". By combining this option with the chart options object, you can define which exact type of chart will be shown, as well as other useful chart configurations. You are welcome to check the example: https://jsfiddle.net/flexmonster/12pt6534/ 
Please let us know if this approach works for you.

Best Regards,
Maksym

Public
Maksym Diachenko Maksym Diachenko Flexmonster March 13, 2024

Hello, Youssef!

Hope you are doing well.
Just checking in to ask if you tried using the suggested approach with viewType: "charts".
Please let us know if this solution works.

Best Regards,
Maksym

Please login or Register to Submit Answer