Support Staff2 Posted by Will White on 31 Oct, 2011 02:35 AM
Unfortunately, the attached code includes
<script> tags, which we can't support in
tooltips for security purposes. It won't possible to generate them
dynamically inside the tooltip. This is why we generally recommend
Charts API for embedded graphs.
You can use highcharts directly by setting up a map on your site
with Wax and overriding the clickHandler function of
control. The custom clickHandler function you
provide can set up and render the chart any way you wish.
Thanks, that makes sense. I've been using the Google charts API to
create static charts, but I wanted to try adding some interactivity
to the full tooltip. Based on your response, I assume that http://code.google.com/apis/chart/
wouldn't work, either, right?
Do you know of any way, other than using a custom clickHandler, to
add interactive charts to the full tooltip? Or is it possible to
stick the custom clickHandler into a map's embed code?
Support Staff4 Posted by Will White on 31 Oct, 2011 05:38 PM
Right, only the Google Charts Image API will work because it
MBTiles tooltips for security reasons. You must implement