Using HTML in an HTML panel?

0
0

I’m trying to use a chartjs script in an HTML panel (or anything?) but it’s not showing up.

I realize there is an official chartjs implementation for wisej, but it doesn’t have the customizability I need and this particular script has text in the center of a doughnut chart. Is this something that can be done?

The zip I attached does contain an html file, if that’s not allowed, this is the code that I’m trying to use: https://stackoverflow.com/a/43026361

Attachment
  • You must to post comments
0
0

Hi Kurt,

Sorry for the delay. The HTML Panel wouldn’t execute JavaScript coming from the Html Source for security reasons; however, there’s something that you can do using the InitScript property!

Take a look at the attached sample, it shows you a workaround for this issue you’re facing!

Think of the HTML Panel as some sort of Sandbox, it’s isolated from the main app, but you can do much with it!

HTH,
Alaa

  • Kurt
    • Kurt
    • Mar 20, 2023 - 4:16 pm
    This is perfect! Thank you!!
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.