Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:51 am EST
Geeklog Forums
Google chart does not work on Static pages plugin?
Anonymous
https://developers.google.com/chart/interactive/docs/quick_start
paste Google charts
from:
<head>
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
...
to:
<head>
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
</head>
<body>
<!--Div that will hold the pie chart-->
<div id="chart_div"></div>
</body>
</html>
many text removed automatically.
So Google charts does not on staticpages.
paste Google charts
from:
Text Formatted Code
<html><head>
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
...
to:
Text Formatted Code
<html><head>
<!--Load the AJAX API-->
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
</head>
<body>
<!--Div that will hold the pie chart-->
<div id="chart_div"></div>
</body>
</html>
many text removed automatically.
So Google charts does not on staticpages.
11
7
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
Yes this is an issue with Geeklog 2.1.2. It has been fixed for Geeklog 2.1.3 (which is not released yet).
See this forum post for more information.
One of the Geeklog Core Developers.
See this forum post for more information.
One of the Geeklog Core Developers.
12
11
Quote
All times are EST. The time is now 08:51 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content