Is this Plugin Dead?
Such a shame if it is.
]]>Please maybe someone knows how to overcome a problem:
Created a polar area chart for test result
https://talantoved.ru/test/fields/1gb9283a142bcdb0f298aa93bec4fd1cbea/
Doesn’t display any labels. At all. Tried everything – numbers, english titles, to play with the size width etc etc, no result.
This is my current shortcode. Thank you in advance guys.
[wp_charts title=”linechart” type=”polarArea” margin=”100px 0px” scaleFontSize=”10″ data=”%a_9%,%a_8%,%a_7%,%a_6%,%a_5%,%a_4%,%a_3%,%a_2%,%a_1%,%a_12%,%a_11%,%a_10%” animation=”false” scaleoverride=”true” scalesteps=”15″ scalestepwidth=”1″ scalestartvalue=”0″ colors=”#4D4D4D,#C2000B,#B3B3B3,#E94B3C,#4D4D4D,#C2000B,#B3B3B3,#E94B3C,#4D4D4D,#C2000B,#B3B3B3,#E94B3C” labels=”9,8,7,6,5,4,3,2,1,12,11,10″]
]]>Hi there, I need to know if the charts load on scroll, or on page load.
]]>create_function is deprecated from php 7.2, and this plugin should be updated. ??
https://www.php.net/manual/en/function.create-function.php
in file: /wp-charts/inc/charts-widget.php
around line 165.
Change this
add_action('widgets_init', create_function('', 'return register_widget("WP_Charts_Widget");'));
To this
add_action('widgets_init', function() { return register_widget("WP_Charts_Widget"); } );
OR use this for compatibility with older php versions.
add_action('widgets_init', 'charts_widget_register_widget' );
function charts_widget_register_widget() {
return register_widget("WP_Charts_Widget");
}
]]>
Hi there,
How can I change the y axis values so it goes from 0 to 9? Now I am getting 1.25, 1.50, 1. 75… etc. I just want the series in increments of 1.
Thank you
This may be a somewhat unique scenario, but basically what I’m trying to do is provide a drop-down box filled with data from ACF (Advanced Custom Fields) data. When the user chooses one of the options, a chart will show how many of our clients use the vendors of the chosen solution.
To make a long story short, the only part that I can’t seem to get to function correctly is the display of the chart.
The pieces I’ve created in order to try this out are :
1. A custom plugin in php, along with an associated shortcode that gathers the data for the drop-down box containing the ACF data. The drop-down box has all the data that it’s supposed to. This part works flawlessly.
2. A javascript file to handle the drop-down on-change functionality. This part also works flawlessly. I have set up breakpoints and console.log output so I know this bit is fine. In this file, there is a jQuery ajax call that connects to another php plugin that I’ve created (see the next bullet), sending the chosen value from the drop-down box.
3. Another custom php plugin that takes the chosen value from the drop-down box and gets the data from the set of ACF data. I think this is also working fine .. until we get to doing the shortcode for wp_charts. The DOM is being updated. I can inspect it and see that the canvas has been added. I can also see there’s a script that is also inserted with the parameters for the chart to be created.
Unfortunately, though, with all the above info in mind, the chart just simply does not display. I do a ‘do_shortcode’ command with all the required information in the plugin mentioned in #3 above. I even just printed the resulting code that would make up the shortcode for the chart I’m trying to select and it works like a charm. So I know my php code is constructing the shortcode string correctly.
I’m working from a local instance of WordPress, so I can’t share a link.
I’ve seen quite a few unanswered threads about the charts not displaying.
I guess what I’m looking for is .. maybe another way to test/figure out what *should* be happening after the DOM is updated. Is there some javascript that’s supposed to run? Is there a repaint() function I can use?
If anyone has any suggestions, I’d love to hear them. I’m more than willing to share any information I can to resolve this; it would be pretty sweet to get it to show the requested chart.
]]>Hi. I have installed this, and copied the shortcode examples you have in the media library, but nothing shows on the front end. It creates the space for it and I can see the code in the ‘view source’ – but it just doesn’t display
Any ideas?
]]>I you change the title of a pie chart, from “mypie” to “1mypie”, the pie simply disappears…
]]>My Graph is measuring dollar amounts. I would like to format the steps to look like dollar amounts rather than just plain numbers. Is this possible?
Thanks!
Craig
]]>create_function was deprecated in php 7.2, yet plugin still uses it.
PHP Deprecated: Function create_function() is deprecated in /wp-content/plugins/wp-charts/inc/charts-widget.php on line 165
]]>Hello, my designer wants an animated chart as the one he has created. Is this possible with your plugin? You can see it here: https://metalesdeinversion.com/plan-oro-inmediato/
Thanks in advance.
]]>Just curious if there’s a pro version, that might receive support and updates?
I see that there hasn’t been an update in quite some time. I also see questions posted without any reply.
So I was just curious if the developer of this plugin offers any pro version with updates and support?
Please let me know.
Thanks,
Gary
Hello!
I’ve installed the WP charts plugin, but I’m having issues with it rendering. I’ve been using a page builder and I just need to insert a horizontal bar chart with about 4 metrics. I’m trying to use this as a book review overview; so one bar being “story/plot” one for “writing style” etc.
I need help getting this to render. I’ve tried both shortcode and the WP chart widget and I’m just getting the title, but no chart. I’ve also tried installing the BlackStudio Tiny MCE widget as well, and no luck still.
Help? Or if anyone has a better widget suggestion?
Thanks!
]]>This plugin work fine with multimedia image, but don’t work with wp_charts or easychart… the posts show good charts images, bur when I am going to generate pdf, this don’t show the charts image…
Some idea?
Thank you very much
Reagards, Andres.
]]>Hello,
we use pie charts and by the time we scroll to the section with charts, we see them loaded
Is there a way to delay animation so user can see animation when he scrolls to that section.
I am trying to using your sample shortcode in my files like forllowing way :-
echo do_shortcode( ‘[wp_charts title=”barchart” type=”bar” align=”alignleft” margin=”5px 20px” datasets=”40,32,50,35 next 20,25,45,42 next 40,43, 61,50 next 33,15,40,22″ labels=”one,two,three,four”]’ );
But above code doesn’t reflect anything on a page but only acquire space of the chart. As html will be loaded but doesn’t show anything on screen.
]]>Hello,
I am trying to display two bar chart with two different short code on same page.
But it being merged into one chart.
Two different charts are display properly, but when both are same bar chart, it merged into one.
Please let me know what should be problem.
]]>I want to create a bar chart that has three different values for each subject – for examples scores of children making age related in reading at our school, the county and the country. Now this wouldn’t be a problem but I would then like to show writing and maths on the same chart. This is the graph I’m talking about – https://www.hillmortonprimaryschool.com/about/school-data/
You can see the key explains this but I can’t see how to add a key in the shortcode guidance.
]]>Hi – is it possible to add comments on the cart such as wording or sticker? Thanks
]]>Hello!
New to WP.
I want to include an user interactive radar chart. I will have 8 categories for users to rank themselves in values from 0-10. As users enter their answers, I want to the radar chart to reflect the change in field value.
I can create a radar chart using WP Charts, but I don’t know how to pass the user entered values as variables to the dataset.
Any help would be appreciated. Thanks.
]]>Hello,
I’m using the 0.7.0 version of WordPress Charts plugin on a 4.5.4 version of WordPress. The charts are not showing the data :
Frontend : https://www.screencast.com/t/hpbsbfjjjF
Backend : https://www.screencast.com/t/CqxVAheaBgo
URL : https://www.abcdubac.com/austin/ (but it is not only on this page, all the pages that have a chart is not showing the bars)
Could you please take a look at that ?
Thanks in advance
]]>What is the best way to change the easing equation to ease out instead of bounce? thanks
]]>Hi,
great Plugin! I tried to insert some form entries via merge tag into the Shortcode, but it didn’t work.
I already tested it with some other Shortcodes (of my theme and other plugins) and there it works. However unfortunately on your plugin it doesn’t…
Any ideas how I can get this working?
Best
]]>Hi,
Thanks for your fantastic plugin, how can i use it on the admin side of my site please ?
Thanks
]]>Having a little trouble getting the hang of WP Charts, appreciate any direction.
I’m using the shortcode below, but the resulting chart shows all data as though it falls into “oct” rather than spread across the labels.
[wp_charts title=”barchart” type=”bar” width=”100%” canvaswidth=”940″ canvasheight=”450″ margin=”5px 20px” datasets=”4197 next 4231 next 4497 next 6465 next 6214 next 8165 next 7673 next 8358 next 7891 next 7990 next 9464 next 9781″ labels=”Oct,Nov,Dec,Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep” scaleoverride=”null” scalesteps=”12″ scalestepwidth=”12″ scalestartvalue=”0″ margin=”0″ scaleFontSize=”16″]
Can anyone tell me what I’ve set incorrectly?
]]>The short answer is using the shortcode directly on template and populate its values with the query or function of choice.
Pasting this to your template code will print the chart with the hardwired dataset.
<?php echo do_shortcode( '[wp_charts title="mypie" type="pie" align="alignright" margin="5px 20px" data="10,32,50,25,5"]' ); ?>
To use dynamic data, you have to replace the values from the data for a variable or a function, using concatenation.
A simple example with a number array:
<?php
$chartData = implode(',', array(10,32,50,25,5));
// Print the chart
echo do_shortcode('[wp_charts title="poepie" type="pie" align="alignright" margin="5px 20px" data="'.$chartData.'"]');
?>
An example using actual WordPress data:
<?php
// Assign the number of posts published or drafted to an array
$count_posts = wp_count_posts();
$draft_posts = $count_posts->draft;
$published_posts = $count_posts->publish;
$countPost = array($draft_posts,$published_posts);
$chartNewData = implode(',', $countPost);
// Print the chart
echo do_shortcode('[wp_charts title="poebar" type="bar" align="alignright" margin="5px 20px" data="'.$draft_posts.'"]');
?>
Sure enough you can embelish the charts with more parameters, but I hope you get the idea.
]]>I’ve been trying to plug in some numbers to get the polar area chart working, but it keeps showing up as a completely white square.
Do you have any screenshots, documentation or even a youtube video that goes through how to use the plugin. I’m pretty savvy with wordpress, but this plugin is not intuitive at all. Really need some additional information to get things going.
Thanks!
– Kara
]]>Is it possible to show the point value of graph (any grpah) when we hover on them.
]]>Hi,
I need to post a chart (line) but from a cvs file which can be over written on daily or hourly basis.
Does wp-charts supports such a setup? Where user will update the CSV files (via FTP) and the chart gets updated automatically.
As we need to update the CVS on hourly basis.
]]>Hi,
is there any way how I can show a image instead of label text on a radar chart?