Jmix Chart can't displayed

I am using jmix 2.2.0 and testing chart addon in my project.
I followed the documentation but the chart is not displayed even though no errors occurred.
In the project I have used the vaadin.whitelisted-packages configuration and configured it for io/jmix/chartsflowui.
Everyone, please help me solve this problem.
Thanks a lot

1 Like

Hi,

Can you please share a sample project to help you?

Regards,
Alex

lewiyil914 , did you figure it out?

I have same problem when adding addon to project and adding simple chart. I just see white blank space on place of chart.

Hi @jakub.cech,
I have found the cause. If the Chart Element declares in a Form Layout, it will not display. You can try removing the Form Layout.
Can you explain any more @a.novitskii pls . Thanks a lot!

@lewiyil914 thank you for your reply.

Not sure about formLayout as it is mentioned in every example in documentation. But it gave me a hint. It does not work in tabs for me. If I just put same graph outside of tab on same view it starts working.

@a.novitskii Can you confirm that it is a bug in jmix?

Hi!

I was unable to reproduce this bug, could you please provide a test project that reproduces the issue?
Any code snippet and project can help.
I tried including the component in different containers, everything was displayed correctly.

Best regards,
Dmitriy