23
Views
4
Comments
Solved
Donut Chart not visible
Application Type
Reactive

Hi Guys, 

I'm using a Donut V1 chart.

Here, the chart is rendering into the DOM and even the data is also passing but the thing is the chart is not displaying in the browser. I'm not sure about why this issue occurs. If anybody has any idea regarding this, kindly let me know.

Thanks in advance,
Nandhakumar S.

Solution

Thank you guys, for your time and effort, I resolved the issue.

The issue here is the script is getting loaded before the container of the respective chart does and the container Id doesn't passed correctly.

Champion

Hi @Nandhakumar S ,

Can you please share oml file

Regards,

Arun

Sorry Arun, I can't share the OML because it's confidential. 

I'll try to explain more clearly.

See, I'm using the Donut V1 chart, here I'm passing the values of the chart using structures and I'm customizing the chart the using the JSON and inputting the respective Json in the "Advanced properties > High chart Json" field. 

Once I publish the screen, the chart is getting rendered and the values are also passing but the chart is not visible.

This chart is working perfectly fine with my personal environment but when comes to dev environment this issue occurs.

Rule #1 if charts do not appear: check the browser's console for errors. Very likely you got some JavaScript error that prevents the chart from appearing.

Solution

Thank you guys, for your time and effort, I resolved the issue.

The issue here is the script is getting loaded before the container of the respective chart does and the container Id doesn't passed correctly.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.