Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hcww

Pages: [1]
1
Wordpress Plugins / Re: Easy Chart inside of a widget
« on: September 07, 2012, 12:13:35 AM »
Thanks for your suggestion. I tried your code and it worked fine inside page content (inside "The Loop") but when I tried to insert the short code into a widget (The Sidebar) I noticed some discrepancies when I viewed the source and with the help of winmerge.

The successful call (inside "the loop") had the following script tags that were missing from my test using a widget, namely...

MISSING
script tag calling https://www.google.com/jsapi
inline script calling google.load + the Function wpEasyChartToggle()
script tag calling http://policymonitor.ca/wp-content/plugins/easy-chart-builder/js/easy-chart-builder.js?ver=3.4.1'

Not Missing
The following appeared in both:
google.setOnLoadCallback + function easyChartDiv15198001_img

I'm not printing out the entire script block but I think you get the idea of what might be happening.

Thanks again for your help.

Best regards

2
Wordpress Plugins / Easy Chart inside of a widget
« on: August 30, 2012, 07:12:29 PM »
Hi there,

I am working on a client website and would like to incorporate an Easy Chart into the sidebar. I see in the documentation that it should be possible, but when I try it simply does not display. For instance the following appears blank:

[easychart type="line" height="300" width="350" title="Test Chart" groupnames="Chocolate, Vanilla, Strawberry, Mint, Peach" valuenames="1999, 2001, 2003, 2004, 2007, 2008" group1values="2069, 1184, 2389, 820, 2398, 701" group2values="2002, 1177, 2825, 697, 3226, 993" group3values="4071, 824, 505, 100, 230, 0" group4values="0, 163, 320, 145, 0, 121" group5values="0, 0, 143, 70, 565, 102"]

Was this removed in the latest version perhaps?

Pages: [1]
anything