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
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
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