Topic
  • 2 replies
  • Latest Post - ‏2013-04-16T17:06:21Z by Dragos.Cojocari
MarcvanLint
MarcvanLint
57 Posts

Pinned topic Adding Charts to a RPE template

‏2013-04-05T08:01:11Z |
Once it was possible to leverage Google-chart options to generate (simple) charts in RPE. This one-URL based charts are now depreciated. The charts are now generated with several javascript statements and a source include (src). Can we leverage this software to generate charts?

https://developers.google.com/chart/

For example the Hello-example, how to get this into a template?
https://developers.google.com/chart/interactive/docs/quick_start

I'm using PDF as output so I will loose the 'graphics-interaction'.
  • Dragos.Cojocari
    Dragos.Cojocari
    1654 Posts

    Re: Adding Charts to a RPE template

    ‏2013-04-16T17:03:59Z  

    Hey Marc,

    the new API seems to require a HTML page in which it can "draw" the  chart. The previous API was creating an actual image that RPE included in the report like any other image. So if you can get the new Google API ( or some other API) to produce such an image as the result of a URL request  than you can hve the result included in the generated RPE document.

    Regards,

       Dragos

  • Dragos.Cojocari
    Dragos.Cojocari
    1654 Posts

    Re: Adding Charts to a RPE template

    ‏2013-04-16T17:06:21Z  

    Hey Marc,

    the new API seems to require a HTML page in which it can "draw" the  chart. The previous API was creating an actual image that RPE included in the report like any other image. So if you can get the new Google API ( or some other API) to produce such an image as the result of a URL request  than you can hve the result included in the generated RPE document.

    Regards,

       Dragos

    Google's Image Charts API is still available but its being deprecated. Details here: https://developers.google.com/chart/image/ and here https://developers.google.com/chart/terms

    Regards,
       Dragos