Skip to content

Commit c47019f

Browse files
Merge pull request #998 from Codeinwp/bugfix/997
Fixed empty chart issue
2 parents 5d34af3 + 5e83ea8 commit c47019f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/render-google.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ var chartWrapperError = [];
571571
objects = {};
572572
if ( 'object' === typeof google ) {
573573
$chart_types.push( 'controls' );
574-
google.load( 'visualization', 'current', {packages: $chart_types, mapsApiKey: v.map_api_key, 'language' : v.language,
574+
google.load( 'visualization', '51', {packages: $chart_types, mapsApiKey: v.map_api_key, 'language' : v.language,
575575
callback: function () {
576576
gv = google.visualization;
577577
all_charts = v.charts;

0 commit comments

Comments
 (0)