WordPress Charts and Graphs Lite - Version 1.1.3

Version Description

  • Issue with "fseek warning" for Google Spreadsheet document source, was fixed.
Download this release

Release Info

Developer madpixels
Plugin Icon WordPress Charts and Graphs Lite
Version 1.1.3
Comparing to
See all releases

Code changes from version 1.1.2 to 1.1.3

classes/Visualizer/Plugin.php CHANGED
@@ -30,7 +30,7 @@
30
  class Visualizer_Plugin {
31
 
32
  const NAME = 'visualizer';
33
- const VERSION = '1.1.2';
34
 
35
  // custom post types
36
  const CPT_VISUALIZER = 'visualizer';
30
  class Visualizer_Plugin {
31
 
32
  const NAME = 'visualizer';
33
+ const VERSION = '1.1.3';
34
 
35
  // custom post types
36
  const CPT_VISUALIZER = 'visualizer';
classes/Visualizer/Source/Csv.php CHANGED
@@ -60,7 +60,7 @@ class Visualizer_Source_Csv extends Visualizer_Source {
60
  * @access private
61
  * @param resource $handle The file handle resource.
62
  */
63
- private function _fetchSeries( $handle ) {
64
  // read column titles
65
  $labels = fgetcsv( $handle );
66
 
@@ -73,7 +73,11 @@ class Visualizer_Source_Csv extends Visualizer_Source {
73
 
74
  // if no types were setup, re read labels and empty types array
75
  if ( !self::_validateTypes( $types ) ) {
76
- fseek( $handle, 0 );
 
 
 
 
77
  $labels = fgetcsv( $handle );
78
  $types = array();
79
  }
60
  * @access private
61
  * @param resource $handle The file handle resource.
62
  */
63
+ private function _fetchSeries( &$handle ) {
64
  // read column titles
65
  $labels = fgetcsv( $handle );
66
 
73
 
74
  // if no types were setup, re read labels and empty types array
75
  if ( !self::_validateTypes( $types ) ) {
76
+ // re open the file
77
+ fclose( $handle );
78
+ $handle = fopen( $this->_filename, 'rb' );
79
+
80
+ // re read the labels and empty types array
81
  $labels = fgetcsv( $handle );
82
  $types = array();
83
  }
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WordPress Visualizer
4
  Plugin URI: http://visualizer.madpixels.net
5
  Description: A simple, easy to use and quite powerful tool to create, manage and embed interactive charts into your WordPress posts and pages. The plugin uses Google Visualization API to render charts, which supports cross-browser compatibility (adopting VML for older IE versions) and cross-platform portability to iOS and new Android releases.
6
- Version: 1.1.2
7
  Author: Madpixels
8
  Author URI: http://madpixels.net
9
  License: GPL v2.0 or later
3
  Plugin Name: WordPress Visualizer
4
  Plugin URI: http://visualizer.madpixels.net
5
  Description: A simple, easy to use and quite powerful tool to create, manage and embed interactive charts into your WordPress posts and pages. The plugin uses Google Visualization API to render charts, which supports cross-browser compatibility (adopting VML for older IE versions) and cross-platform portability to iOS and new Android releases.
6
+ Version: 1.1.3
7
  Author: Madpixels
8
  Author URI: http://madpixels.net
9
  License: GPL v2.0 or later
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: chart, charts, charting, graph, graphs, graphing, visualisation, visualise data, visualization, visualize data, HTML5, canvas, pie chart, line chart, bar chart, column chart, gauge chart, area chart, scatter chart, candlestick chart, geo chart, google visualization api
5
  Requires at least: 3.5
6
  Tested up to: 3.6
7
- Stable tag: 1.1.2
8
  License: GPL v2.0 or later
9
  License URI: http://www.opensource.org/licenses/gpl-license.php
10
 
@@ -52,6 +52,9 @@ Read how to [create a chart](http://visualizer.madpixels.net/knowledgebase/how-c
52
 
53
  == Changelog ==
54
 
 
 
 
55
  = 1.1.2 =
56
  * Compatibility issues with WordPress version 3.6 has been fixed.
57
 
4
  Tags: chart, charts, charting, graph, graphs, graphing, visualisation, visualise data, visualization, visualize data, HTML5, canvas, pie chart, line chart, bar chart, column chart, gauge chart, area chart, scatter chart, candlestick chart, geo chart, google visualization api
5
  Requires at least: 3.5
6
  Tested up to: 3.6
7
+ Stable tag: 1.1.3
8
  License: GPL v2.0 or later
9
  License URI: http://www.opensource.org/licenses/gpl-license.php
10
 
52
 
53
  == Changelog ==
54
 
55
+ = 1.1.3 =
56
+ * Issue with "fseek warning" for Google Spreadsheet document source, was fixed.
57
+
58
  = 1.1.2 =
59
  * Compatibility issues with WordPress version 3.6 has been fixed.
60