Like what you see? Have a play with our trial version.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Anchor
top
top

Overview

Styleclass
ClasstopLink

top

Version 2.x of the Javascript API includes support for interactive Google Maps reports. For this to work, you must include the Google API script in your page before loading the report. If the Google API script is not available, the report will fall back to a non-interactive version. The Javascript API uses version 3 of the Google Maps API. To use this version of the Google API you will need an API key for the domain that your page will be hosted under.

An example of including the Google API to load interactive Google Maps reports:

Code Block
javascript
javascript
<!-- include the Google API -->
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=..."></script>
<!-- embed the Yellowfin report -->
<script type="text/javascript" src="http://localhost/JsAPI?reportUUID=e5e5aaf3-c3b8-4f9b-8280-e21e4d848e63"></script>

 

horizontalrule
Styleclass
ClasstopLink

top

 

JavaScript Charts Support

 

To be able to display JavaScript charts in your page via JavaScript API or web services, these libraries must be included in your script:

<script src="http://<host>:<port>/js/jquery-1.7.2.min.js"></script>

<script src="http://<host>:<port>/js/libs/requirejs/requirejs.js"></script>

<script src="http://<host>:<port>/js/ws.js"></script>