So adding a Tablepress table via shortcode words fine, but adding a chartist chart the same way just doesn’t show anything?
https://photos.app.goo.gl/XnHMdWf3yu2TRqJW9
Bonus question: How to go about adding parameters? Assuming the way I’ve tried in the screenshot isn’t correct?
]]>Hi Silsha,
I have a table with multiple columns as you can see here : https://www.beyondlifting.org/results/
1 – Is there a way to choose the columns to display ?
2 – Is there a way to change the chart based on the choice of the user in the filter section of the table ?
Best regards.
]]>Hi, first of all great plugin, thank you all who worked on this.
[ TablePress Extension: Chartist ]
My issue is when i try to use the shortcodes in tabs or sections to show and hide with javascript (im working on Elementor) only the first shortcode displays the charts.
https://www.roicrafter.com/app/ you can navigate between the “today” and “last 7 days” buttons/tabs.
]]>I created a table, inserted a shortcode and it shows an empty table (header) without a chart
]]>It appears chartist is no longer supported. I encountered a bug, went to the trouble of fixing it, only to come here and discover someone already documented it. I could put up a page with a download of the patched version if anyone is interested.
]]>If you are experiencing problems with Chartist then you can try amending the file tablepress_chartist.php which you will find in the \wp-content\plugins\charts-for-tablepress-chartist\ folder
replace line 149 with
// return tablepress_get_table($table_query);
if ( function_exists( 'tablepress_get_table' )) {
return tablepress_get_table($table_query);
}
return 'front-end only matey';
}
and replace line 122 with
// add_shortcode('table-chart', [__CLASS__, 'handle_table_chart_shortcode']);
if ( defined( 'REST_REQUEST' ) && REST_REQUEST ) {
// TablePress doesn't support the REST API
} else {
add_shortcode('table-chart', [__CLASS__, 'handle_table_chart_shortcode']);
}
and you can let me know if it helps
]]>Hello! Can anyone answer the question why in TablePress Extension: Chartist shortcode added to the php code like this:
<?php
echo do_shortcode('[table-chart id=1 /]');
?>
did not work. As usual, the post adds the shortcode itself, works great, but not in php. Someone had something like that?
]]>I am using TablePress plugin for display order data for show owners in table form.
I use dynamic parameter for each shopkeeper and it is working properly with TablePress.
Now I want graphical solution, but when I use below short-code for example that give me error.
<?php
echo do_shortcode('[table-chart id="14" /]');
?>
ERROR: Uncaught ReferenceError: Chartist is not defined
]]>Im guessing this plugin is abandoned anyway, but it just kills pages in WP 5, when you insert a shortcode the page just continually tries to update.
]]>I have just installed Chartist. How do you use it? Just a short code with
a mess of args?
I have a 6col chart. How do I tell Chartist to chart column $a vs column $b ?
]]>Greetings,
Thank you for this plugin.
Are animations still supported?
Is there a way to delay the animation till the chart is viewed in the view-port?
Daveed
]]>Can I see some examples of the code we need to use a bar chart? I wanted to render horizontal bar chart. Doesn’t seem to work. The code I used was
[table-chart chart=bar id=85 /]
]]>I was just running some tests.
When I created a simple table, and added the code in the default WordPress page editor, using the DIVI theme from Elegant Themes, the chart shows up on the public page. But when I go to the POST in WordPress and try to edit it, after saving it initially, the entire page comes up blank. Just a white empty page shows up.
So I disabled all plugins and it still happened. But when I change the theme from DIVI to Twenty Seventeen theme (from WordPress) then it works and I’m able to edit the post and make changes.
But if I use the DIVI theme, and click to edit the post, I get a blank white page.
Can you help or advise??
Gary
]]>Dear silsha,
Im trying to make a chart on base of Tablepress table.
I have just string in Table, no numbers. Thus I want do display counted number of certain rows with certain parameters.
I want also to show not all attributes in chart. How can I choose them?
Is that possible in you plugin?
Best regards,
Maks
Hello!
Is it possible to ignore the first column?
thanks!
ole
]]>Hi,
Is it possible to add a tooltip to the tablepress chartist plugin?
I know chartist.js has it, but i do not know how to add it.
Hi,
I really want your charting plugin to work (because I love TablePress) but I get a fatal error message every time I add in the chartist shortcode on a page.
I have php version 5.6.31 running (just confirmed it).
And I added a really dead-simple table in case the table I imported was too complex.
But I still see the same message:
“Cannot handle your request: HTTP ERROR 500”
on the front end and
“[27-Sep-2017 17:36:27 UTC] PHP Fatal error: Call to undefined function tablepress_get_table() in /home/visitne1/public_html/demo/wp-content/plugins/charts-for-tablepress-chartist/tablepress_chartist.php on line 149” in my debug log.
Any ideas of what I can do to use your plugin?
Thanks.
]]>Hello,
I added the shortcode to a default tab of plugin Woocommerce v.3.1.2 and it throws a fatal error when trying to save the product.
Uncaught Error: Call to undefined function tablepress_get_table() in /abspath/wp-content/plugins/charts-for-tablepress-chartist/tablepress_chartist.php:149
Latest version of this plugin
Maybe you can fix it. Very useful Tablepress Addon. thanks
Hi, I recently installed TablePress, which is working great! But I’m now trying to use this chart add-on, and it’s not working.
I put in the simplest version of the shortcode for a table with just 2 columns and 4 rows. The div for the chart appears, but nothing else.
My javascript console is returning an error that says “Uncaught Syntax Error: Unexpected token <” for this line:
var chart = new Chartist.Line( ‘#chartist-tablepress-3’, data, options );</p><p>});
please advise.
]]>HI,
I use piepercent and you used first line of te table for data value.
Is it possible to use data Footer line of the table ?
Because we used filter and i can’t use the first line.
I use sum of column display on the table footer (without text “Total” just number).
Like Test3
Screenshot column Sum
Best regards
Eric
HI,
I use piepercent but I do not want to display the data with 0%. Is it possible to have parameter to disable display value to 0% ?
Screenshot at https://prnt.sc/fuuegz
Another question, is it possible to have more than 15 colors, because after 15 all are black color.
Screenshot at https://prnt.sc/fuukad
Thanks
Eric
Hello !
I’ve tried to install your plugin but when i tried to activate it, i receive this message :
Fatal error: Cannot declare class TablePress_Chartist, because the name is already in use in /home/<my_home>/wp-content/plugins/charts-for-tablepress-chartist/tablepress_chartist.php on line 27
I also tried to use this unoficial package, but allways the same problem :
https://github.com/silsha/tablepress_chartist/archive/0.9.zip
What can i do ?
For information, my configuration :
apache 2.4
PHP 7.0
MySQL 5.6
Thank’s a lot again for your work,
Thierry
]]>Plugin caused fatal error after recent update; no access to site or dashboard, WSoD.
De-activated all plugins via MySQL. Re-activated in WordPress Dashboard > Plugins.
Error message:
Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘[‘ in /home/watoosa/public_html/wordpress/wp-content/plugins/charts-for-tablepress-chartist/tablepress_chartist.php on line 18
Amazon Linux 2015
Apache 2.2.21
PHP 5.3.29
MySQL 5.5.54