Skip to content

Commit 71c08ad

Browse files
Merge pull request #644 from contactashish13/issue-238-pro
Import from other chart gives fatal error
2 parents db9cc83 + 2da3cff commit 71c08ad

File tree

5 files changed

+75
-25
lines changed

5 files changed

+75
-25
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11

2+
### v3.4.0 - 2020-02-13
3+
**Changes:**
4+
* [Feat] Support for authentication for JSON import
5+
* [Feat] New chart type: Bubble
6+
* [Feat] Combine one-time import and schedule import into a single control for an online .csv file import
7+
* [Feat] Add support for annotations and other roles
8+
* [Feat] For every chart show the last updated date and any error that exists
9+
* [Feat] Tested up to WP 5.3
10+
* [Fix] When new data is imported using csv/url, the manual editor still show old data
11+
* [Fix] Having SCRIPT_DEBUG on causes issues in real time update of charts
12+
* [Fix] Table chart: Error appears when trying to import from JSON
13+
* [Fix] PHP Fatal error: Uncaught Error: Cannot unset string offsets
14+
* [Fix] Long responsive table can overflow on smaller screens
15+
216
### v3.3.4 - 2019-11-15
317
**Changes:**
418
* Fix issue with table chart not loading in the block editor

classes/Visualizer/Module/Chart.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,9 @@ private function handleCSVasString( $data, $editor_type ) {
898898
$source = new Visualizer_Source_Csv( $tmpfile );
899899
fclose( $handle );
900900
break;
901+
case 'table':
902+
// Import from Chart
903+
// fall-through.
901904
case 'excel':
902905
// data coming in from the excel editor.
903906
$source = apply_filters( 'visualizer_pro_handle_chart_data', $data, '' );

readme.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Visualizer: Tables and Charts for WordPress # #
2-
**Contributors:** [codeinwp](https://profiles.wordpress.org/codeinwp), [marius2012](https://profiles.wordpress.org/marius2012), [marius_codeinwp](https://profiles.wordpress.org/marius_codeinwp), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani), [themeisle](https://profiles.wordpress.org/themeisle), [Madalin_ThemeIsle](https://profiles.wordpress.org/Madalin_ThemeIsle), [contactashish13](https://profiles.wordpress.org/contactashish13)
1+
# Visualizer: Tables and Charts for WordPress #
2+
**Contributors:** [[codeinwp](https://profiles.wordpress.org/codeinwp)](https://profiles.wordpress.org/[codeinwp](https://profiles.wordpress.org/codeinwp)), [[marius2012](https://profiles.wordpress.org/marius2012)](https://profiles.wordpress.org/[marius2012](https://profiles.wordpress.org/marius2012)), [[marius_codeinwp](https://profiles.wordpress.org/marius_codeinwp)](https://profiles.wordpress.org/[marius_codeinwp](https://profiles.wordpress.org/marius_codeinwp)), [[hardeepasrani](https://profiles.wordpress.org/hardeepasrani)](https://profiles.wordpress.org/[hardeepasrani](https://profiles.wordpress.org/hardeepasrani)), [[themeisle](https://profiles.wordpress.org/themeisle)](https://profiles.wordpress.org/[themeisle](https://profiles.wordpress.org/themeisle)), [[Madalin_ThemeIsle](https://profiles.wordpress.org/Madalin_ThemeIsle)](https://profiles.wordpress.org/[Madalin_ThemeIsle](https://profiles.wordpress.org/Madalin_ThemeIsle)), [[contactashish13](https://profiles.wordpress.org/contactashish13)](https://profiles.wordpress.org/[contactashish13](https://profiles.wordpress.org/contactashish13))
33
**Tags:** tables, charts, pie, visualization, graphs
44
**Requires at least:** 3.5
55
**Tested up to:** 5.3
@@ -16,15 +16,18 @@ A simple and powerful WordPress chart plugin to create responsive charts & table
1616

1717
The plugin uses Google Visualization API, DataTables.net and ChartJS to add responsive & animated charts, graphs and tables, which support cross-browser compatibility and display perfectly on mobile devices. You can greatly customize all aspects of the charts and tables, and import the data from Excel, CSV, Google Sheets and more!
1818

19-
### 7 Chart types + 6 more in the pro version ###
20-
This WordPress graph plugin provides a variety of charts that are optimized to address your WordPress data visualization needs. In the free version, it has line charts, area charts, bar charts, column charts, pie charts, geo charts and scatter charts. These charts are based on pure HTML5/SVG technology (adopting VML for old IE versions), so no extra plugins are required. Adding these charts to your page can be done in a few simple steps.
19+
### 9 Chart types + 6 more in the pro version ###
20+
This WordPress graph plugin provides a variety of charts that are optimized to address your WordPress data visualization needs. In the free version, it has line charts, area charts, bar charts, column charts, pie charts, geo charts, table charts, bubble charts, scatter charts. These charts are based on pure HTML5/SVG technology (adopting VML for old IE versions), so no extra plugins are required. Adding these charts to your page can be done in a few simple steps.
2121

2222
### One of the best table plugin for wordpress ###
2323
On top of our responsive charts and graphs, you can also add our responsive tables to your posts and pages, and customize them however you like. Not only can you customize the design of the tables, you can add sorting capabilities, pagination, search and more. You can view a few examples of what can be done <a href="https://demo.themeisle.com/visualizer/table-chart/">here</a>, but many more things can be done, including pricing tables and product tables.
2424

2525
### Flexible and customizable ###
2626
Make the charts your own. Configure an extensive set of options to perfectly match the look and feel of your website. You can use Google Chart Tools with their default setting - all customization is optional and the basic setup is launch-ready. However, charts and graphs can be easily customizable in case your webpage adopts a style which is at odds with provided defaults. Every chart exposes a number of options that customize its look and feel.
2727

28+
### Gutenberg support ###
29+
Whether you like Gutenberg or not, it doesn't matter, you can add your charts using our easy-to-use gutenberg interface, or simply paste your chart code on the old editor.
30+
2831
### Responsive Charts in HTML5/SVG ###
2932
Charts are rendered using HTML5/SVG technology to provide cross-browser compatibility (including VML for older IE versions) and cross platform portability to iPhones, iPads and Android. Your users will never have to mess with extra plugins or any software. If they have a web browser, they can see your charts.
3033

@@ -159,6 +162,21 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
159162
13. Bar chart
160163

161164
## Changelog ##
165+
### 3.4.0 - 2020-02-13 ###
166+
167+
* [Feat] Support for authentication for JSON import
168+
* [Feat] New chart type: Bubble
169+
* [Feat] Combine one-time import and schedule import into a single control for an online .csv file import
170+
* [Feat] Add support for annotations and other roles
171+
* [Feat] For every chart show the last updated date and any error that exists
172+
* [Feat] Tested up to WP 5.3
173+
* [Fix] When new data is imported using csv/url, the manual editor still show old data
174+
* [Fix] Having SCRIPT_DEBUG on causes issues in real time update of charts
175+
* [Fix] Table chart: Error appears when trying to import from JSON
176+
* [Fix] PHP Fatal error: Uncaught Error: Cannot unset string offsets
177+
* [Fix] Long responsive table can overflow on smaller screens
178+
179+
162180
### 3.3.4 - 2019-11-15 ###
163181

164182
* Fix issue with table chart not loading in the block editor
@@ -513,4 +531,4 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
513531
* The bug with CSV file uploading was fixed.
514532

515533
### 1.0.0 ###
516-
* The first version of what wil be the best wp charts plugin.
534+
* The first version of what wil be the best wp charts plugin.

readme.txt

Lines changed: 34 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
# Visualizer: Tables and Charts for WordPress #
2-
**Contributors:** [codeinwp](https://profiles.wordpress.org/codeinwp), [marius2012](https://profiles.wordpress.org/marius2012), [marius_codeinwp](https://profiles.wordpress.org/marius_codeinwp), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani), [themeisle](https://profiles.wordpress.org/themeisle), [Madalin_ThemeIsle](https://profiles.wordpress.org/Madalin_ThemeIsle), [contactashish13](https://profiles.wordpress.org/contactashish13)
3-
**Tags:** tables, charts, pie, visualization, graphs
4-
**Requires at least:** 3.5
5-
**Tested up to:** 5.3
6-
**Requires PHP:** 5.6
7-
**Stable tag:** trunk
8-
**License:** GPL v2.0 or later
9-
**License URI:** http://www.opensource.org/licenses/gpl-license.php
1+
=== Visualizer: Tables and Charts Manager for WordPress # ===
2+
Contributors: codeinwp,marius2012,marius_codeinwp,hardeepasrani,themeisle,Madalin_ThemeIsle,contactashish13
3+
Tags: tables, charts, pie, visualization, graphs
4+
Requires at least: 3.5
5+
Tested up to: 5.3
6+
Requires PHP: 5.6
7+
Stable tag: trunk
8+
License: GPL v2.0 or later
9+
License URI: http://www.opensource.org/licenses/gpl-license.php
1010

1111
A simple and powerful WordPress chart plugin to create responsive charts & tables and embed them into your site.
1212

1313
## Description ##
14-
14+
1515
<p><a href="https://themeisle.com/plugins/visualizer-charts-and-graphs/" rel="nofollow">Visualizer: Tables and Charts for WordPress plugin</a> is a powerful and easy to use plugin used to create, manage and embed interactive, responsive charts & tables into your WordPress posts and pages.</p>
1616

1717
The plugin uses Google Visualization API, DataTables.net and ChartJS to add responsive & animated charts, graphs and tables, which support cross-browser compatibility and display perfectly on mobile devices. You can greatly customize all aspects of the charts and tables, and import the data from Excel, CSV, Google Sheets and more!
1818

1919
### 9 Chart types + 6 more in the pro version ###
20-
This WordPress graph plugin provides a variety of charts that are optimized to address your WordPress data visualization needs. In the free version, it has line charts, area charts, bar charts, column charts, pie charts, geo charts, table charts, bubble charts, scatter charts. These charts are based on pure HTML5/SVG technology (adopting VML for old IE versions), so no extra plugins are required. Adding these charts to your page can be done in a few simple steps.
20+
This WordPress graph plugin provides a variety of charts that are optimized to address your WordPress data visualization needs. In the free version, it has line charts, area charts, bar charts, column charts, pie charts, geo charts, table charts, bubble charts, scatter charts. These charts are based on pure HTML5/SVG technology (adopting VML for old IE versions), so no extra plugins are required. Adding these charts to your page can be done in a few simple steps.
2121

2222
### One of the best table plugin for wordpress ###
2323
On top of our responsive charts and graphs, you can also add our responsive tables to your posts and pages, and customize them however you like. Not only can you customize the design of the tables, you can add sorting capabilities, pagination, search and more. You can view a few examples of what can be done <a href="https://demo.themeisle.com/visualizer/table-chart/">here</a>, but many more things can be done, including pricing tables and product tables.
@@ -162,17 +162,32 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
162162
13. Bar chart
163163

164164
== Changelog ==
165-
= 3.3.4 - 2019-11-15 =
165+
= 3.4.0 - 2020-02-13 =
166+
167+
* [Feat] Support for authentication for JSON import
168+
* [Feat] New chart type: Bubble
169+
* [Feat] Combine one-time import and schedule import into a single control for an online .csv file import
170+
* [Feat] Add support for annotations and other roles
171+
* [Feat] For every chart show the last updated date and any error that exists
172+
* [Feat] Tested up to WP 5.3
173+
* [Fix] When new data is imported using csv/url, the manual editor still show old data
174+
* [Fix] Having SCRIPT_DEBUG on causes issues in real time update of charts
175+
* [Fix] Table chart: Error appears when trying to import from JSON
176+
* [Fix] PHP Fatal error: Uncaught Error: Cannot unset string offsets
177+
* [Fix] Long responsive table can overflow on smaller screens
178+
179+
180+
= 3.3.4 - 2019-11-15 =
166181

167182
* Fix issue with table chart not loading in the block editor
168183

169184

170-
= 3.3.3 - 2019-11-12 =
185+
= 3.3.3 - 2019-11-12 =
171186

172187
* Tested upto WordPress 5.3
173188

174189

175-
= 3.3.2 - 2019-10-03 =
190+
= 3.3.2 - 2019-10-03 =
176191

177192
* Add support for Dataset schema
178193
* Horizontal Axis formatting should apply to tooltips
@@ -287,15 +302,15 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
287302

288303
* Adds insert button in chart library.
289304
* Remove frontend assets where they are not needed.
290-
* Improve non-English charts compatibility.
305+
* Improve non-English charts compatibility.
291306
* Adds a filter to change charts locale.
292307

293308

294309
### 3.0.6 - 2018-02-27 ###
295310

296-
* Fix UTF-8 support while saving the data.
297-
* Improve editing experience.
298-
* Improves compatibility with Premium version.
311+
* Fix UTF-8 support while saving the data.
312+
* Improve editing experience.
313+
* Improves compatibility with Premium version.
299314
* Adds chart button into TinyMCE editor.
300315

301316

@@ -345,7 +360,7 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
345360

346361
### 2.1.8 - 2017-07-03 ###
347362

348-
* Added chart title into library.
363+
* Added chart title into library.
349364
* Fixed SDK issues with dashboard widget.
350365

351366

themeisle-hash.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"index.php":"c3004c04b78b4a25245d1c88ba9b1184"}
1+
{"index.php":"e3217d70f32ef50b1942c9044649aa86"}

0 commit comments

Comments
 (0)