• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
[Google Chart] - Displaying chart in an Axaj Modal Dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Google Chart] - Displaying chart in an Axaj Modal Dialog


  • Subject: [Google Chart] - Displaying chart in an Axaj Modal Dialog
  • From: Dev WO <email@hidden>
  • Date: Mon, 04 May 2015 15:28:47 +0200

Hi All,

I’m trying to display a chart generated with Google Chart inside an AMD.

For the Google Chart part, I’m generating a javascript function which is then “written” into the HTML with a simple wo:string/escape=false directly inside the AMD content.

If I display it inline with the page, everything is fine. But if I try to display it through an AMD, the javascript isn’t triggered at all.
It is there, I can see the response (and it works inline for example), but it doesn’t display/execute at all.
I believe it’s not triggered at all because the js update the content of a div, and when called through the AMD the “default" content isn’t changed.

I’ve tried using the afterLoad and afterResize bindings of the AMD to trigger the javascript, but it doesn’t do anything.

Anyone has any pointer on how to get my javascript executed inside the AMD?

Thanks a lot,

Xavier


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: [Google Chart] - Displaying chart in an Axaj Modal Dialog
      • From: Samuel Pelletier <email@hidden>
  • Prev by Date: Modern Wonder: Repos Structure, Building & Deploying
  • Next by Date: Re: [Google Chart] - Displaying chart in an Axaj Modal Dialog
  • Previous by thread: Modern Wonder: Repos Structure, Building & Deploying
  • Next by thread: Re: [Google Chart] - Displaying chart in an Axaj Modal Dialog
  • Index(es):
    • Date
    • Thread