Graphing
-
I would love for you to extend this plugins capabilities by adding charting, or the ability to represent numbers in the chart as a charted images. Example:
-
Hi,
no problem! 🙂 I hope that rinaldi6109 can help you…
Regards,
TobiasIt is a very strange thing. The plugin update has nothing to do with the breakage. Reading bruceleeon’s web page, the <script> code lines are present in the html source but they aren’t in Firebug (or at least I am not able to find them). My plugin simply does not work because its scripts are not loaded. Anyway Joe reports also a “DataTables warning (table id = ‘tablepress-2′): Cannot reinitialise DataTable.” message. Is it a TablePress issue?
I had to disable the plugin…
I can enable table2chart if you are available to look
Hi,
I have a feeling here: Is the JS loading based on the Shortcode?
In that case, the TablePress caching might have to do with it.Please try changing your Shortcode to
[table id=123 cache_table_output=false /]Regards,
TobiasHi,
you seem to have activated something weird with a name “rocketscript”. Can you please deactivate that?
Regards,
TobiasRocketscript? That may be from cloudflare optimizations. I will turn on development mode to turn off all optimizations.
Hi,
it’s still active for me… You might need to turn off the Caching plugin as well.
Regards,
TobiasAll caching is disabled
Hi,
yes, now the rocketscript thing is gone for me, too.
I can see two problems now: The JavaScript code in the footer is inserted into the page twice (which is the reason for that DataTables error message). This could mean that your theme for some reason contains two calls to
wp_footer();. Could you check that? (It might also be a a good idea to temporarily switch to the WordPress default theme TwentyTwelve.)Also, the data for the Table2Chart plugin is escaped, for some reason.
That means that all quotation marks"are encoded as“or”. This is probably done by WordPress, because that JSON is inserted before the corresponding filter in WordPress is run. This could mean that Table2Chart should print that code in a different format (or in a different location).Regards,
TobiasI would believe that to be true if the table2charts plugin hadn’t worked previously.
If I roll back the plugin, the charts work halfway. The first dataset is missing but the second is present.
I am going to roll back the table2charts plugin to the original version.
Rolled back…
Hi,
ok, now it seems that the
Table2ChartJS function that is called by the code that is below the table, is missing. This again breaks all the JS on the page.
And that’s the reason why the DataTables functions are no longer there (although they are now only included once, as they should).
So, from TablePress’ point of view everything is ok now. Now you can begin to investigate the Table2Chart issues.Regards,
Tobias
The topic ‘Graphing’ is closed to new replies.