Version Description
Download this release
Release Info
Developer | codeinwp |
Plugin | WordPress Charts and Graphs Lite |
Version | 2.1.6 |
Comparing to | |
See all releases |
Code changes from version 2.1.5 to 2.1.6
- CHANGELOG.md +7 -0
- classes/Visualizer/Module/Chart.php +2 -0
- classes/Visualizer/Plugin.php +1 -1
- classes/Visualizer/Source/Csv.php +1 -6
- css/media.css +1 -1
- index.php +1 -1
- languages/visualizer.pot +3 -3
- readme.txt +6 -2
- vendor/autoload.php +1 -1
- vendor/autoload_52.php +1 -1
- vendor/composer/autoload_real.php +3 -3
- vendor/composer/autoload_real_52.php +3 -3
CHANGELOG.md
CHANGED
@@ -1,4 +1,11 @@
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
### v2.1.5 - 2017-06-02
|
3 |
**Changes:**
|
4 |
- Fixed markup issue which caused issue on library loading.
|
1 |
|
2 |
+
### v2.1.6 - 2017-06-08
|
3 |
+
**Changes:**
|
4 |
+
|
5 |
+
### v2.1.6 - 2017-06-07
|
6 |
+
**Changes:**
|
7 |
+
- Fixed non-latin chars render.
|
8 |
+
|
9 |
### v2.1.5 - 2017-06-02
|
10 |
**Changes:**
|
11 |
- Fixed markup issue which caused issue on library loading.
|
classes/Visualizer/Module/Chart.php
CHANGED
@@ -539,6 +539,8 @@ class Visualizer_Module_Chart extends Visualizer_Module {
|
|
539 |
}
|
540 |
}
|
541 |
$fp = tmpfile();
|
|
|
|
|
542 |
foreach ( $rows as $row ) {
|
543 |
fputcsv( $fp, $row );
|
544 |
}
|
539 |
}
|
540 |
}
|
541 |
$fp = tmpfile();
|
542 |
+
// support for MS Excel
|
543 |
+
fprintf( $fp, $bom = ( chr( 0xEF ) . chr( 0xBB ) . chr( 0xBF ) ) );
|
544 |
foreach ( $rows as $row ) {
|
545 |
fputcsv( $fp, $row );
|
546 |
}
|
classes/Visualizer/Plugin.php
CHANGED
@@ -28,7 +28,7 @@
|
|
28 |
class Visualizer_Plugin {
|
29 |
|
30 |
const NAME = 'visualizer';
|
31 |
-
const VERSION = '2.1.
|
32 |
|
33 |
// custom post types
|
34 |
const CPT_VISUALIZER = 'visualizer';
|
28 |
class Visualizer_Plugin {
|
29 |
|
30 |
const NAME = 'visualizer';
|
31 |
+
const VERSION = '2.1.6';
|
32 |
|
33 |
// custom post types
|
34 |
const CPT_VISUALIZER = 'visualizer';
|
classes/Visualizer/Source/Csv.php
CHANGED
@@ -62,7 +62,6 @@ class Visualizer_Source_Csv extends Visualizer_Source {
|
|
62 |
private function _fetchSeries( &$handle ) {
|
63 |
// read column titles
|
64 |
$labels = fgetcsv( $handle, 0, VISUALIZER_CSV_DELIMITER, VISUALIZER_CSV_ENCLOSURE );
|
65 |
-
$labels = array_map( 'utf8_encode', $labels );
|
66 |
// read series types
|
67 |
$types = fgetcsv( $handle, 0, VISUALIZER_CSV_DELIMITER, VISUALIZER_CSV_ENCLOSURE );
|
68 |
|
@@ -79,7 +78,6 @@ class Visualizer_Source_Csv extends Visualizer_Source {
|
|
79 |
|
80 |
// re read the labels and empty types array
|
81 |
$labels = fgetcsv( $handle, 0, VISUALIZER_CSV_DELIMITER, VISUALIZER_CSV_ENCLOSURE );
|
82 |
-
$labels = array_map( 'utf8_encode', $labels );
|
83 |
$types = array();
|
84 |
}
|
85 |
|
@@ -107,10 +105,7 @@ class Visualizer_Source_Csv extends Visualizer_Source {
|
|
107 |
// set line endings auto detect mode
|
108 |
ini_set( 'auto_detect_line_endings', true );
|
109 |
// open file and return handle
|
110 |
-
|
111 |
-
$tmp = tempnam( sys_get_temp_dir(), rand() );
|
112 |
-
file_put_contents( $tmp, $fc );
|
113 |
-
return fopen( $tmp, 'rb' );
|
114 |
}
|
115 |
|
116 |
/**
|
62 |
private function _fetchSeries( &$handle ) {
|
63 |
// read column titles
|
64 |
$labels = fgetcsv( $handle, 0, VISUALIZER_CSV_DELIMITER, VISUALIZER_CSV_ENCLOSURE );
|
|
|
65 |
// read series types
|
66 |
$types = fgetcsv( $handle, 0, VISUALIZER_CSV_DELIMITER, VISUALIZER_CSV_ENCLOSURE );
|
67 |
|
78 |
|
79 |
// re read the labels and empty types array
|
80 |
$labels = fgetcsv( $handle, 0, VISUALIZER_CSV_DELIMITER, VISUALIZER_CSV_ENCLOSURE );
|
|
|
81 |
$types = array();
|
82 |
}
|
83 |
|
105 |
// set line endings auto detect mode
|
106 |
ini_set( 'auto_detect_line_endings', true );
|
107 |
// open file and return handle
|
108 |
+
return fopen( $filename ? $filename : $this->_filename, 'rb' );
|
|
|
|
|
|
|
109 |
}
|
110 |
|
111 |
/**
|
css/media.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/*
|
2 |
-
Version: 2.1.
|
3 |
*/
|
4 |
#visualizer-library-view {
|
5 |
padding: 30px 10px 10px 30px;
|
1 |
/*
|
2 |
+
Version: 2.1.6
|
3 |
*/
|
4 |
#visualizer-library-view {
|
5 |
padding: 30px 10px 10px 30px;
|
index.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Visualizer: Charts and Graphs Lite
|
5 |
Plugin URI: https://themeisle.com/plugins/visualizer-charts-and-graphs-lite/
|
6 |
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.
|
7 |
-
Version: 2.1.
|
8 |
Author: Themeisle
|
9 |
Author URI: http://themeisle.com
|
10 |
License: GPL v2.0 or later
|
4 |
Plugin Name: Visualizer: Charts and Graphs Lite
|
5 |
Plugin URI: https://themeisle.com/plugins/visualizer-charts-and-graphs-lite/
|
6 |
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.
|
7 |
+
Version: 2.1.6
|
8 |
Author: Themeisle
|
9 |
Author URI: http://themeisle.com
|
10 |
License: GPL v2.0 or later
|
languages/visualizer.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the GPL v2.0 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Visualizer: Charts and Graphs Lite 2.1.
|
6 |
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/visualizer/issues\n"
|
7 |
-
"POT-Creation-Date: 2017-06-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -102,7 +102,7 @@ msgid "Pro Addon"
|
|
102 |
msgstr ""
|
103 |
|
104 |
#: classes/Visualizer/Module/Chart.php:298
|
105 |
-
#: classes/Visualizer/Module/Chart.php:
|
106 |
msgid "You have entered invalid URL. Please, insert proper URL."
|
107 |
msgstr ""
|
108 |
|
2 |
# This file is distributed under the GPL v2.0 or later.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Visualizer: Charts and Graphs Lite 2.1.5\n"
|
6 |
"Report-Msgid-Bugs-To: https://github.com/Codeinwp/visualizer/issues\n"
|
7 |
+
"POT-Creation-Date: 2017-06-07 18:40:31+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
102 |
msgstr ""
|
103 |
|
104 |
#: classes/Visualizer/Module/Chart.php:298
|
105 |
+
#: classes/Visualizer/Module/Chart.php:581
|
106 |
msgid "You have entered invalid URL. Please, insert proper URL."
|
107 |
msgstr ""
|
108 |
|
readme.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
=== WordPress Charts and Graphs Lite ===
|
2 |
-
Contributors: codeinwp,marius2012,marius_codeinwp,hardeepasrani,themeisle,Madalin_ThemeIsle
|
3 |
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
|
4 |
Requires at least: 3.5
|
5 |
-
Tested up to: 4.
|
6 |
Stable tag: trunk
|
7 |
License: GPL v2.0 or later
|
8 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
@@ -118,6 +118,10 @@ http://docs.themeisle.com/article/610-how-can-i-edit-the-data-manually
|
|
118 |
5. Charts library
|
119 |
|
120 |
== Changelog ==
|
|
|
|
|
|
|
|
|
121 |
|
122 |
= 2.1.4 =
|
123 |
* Fixed issues with non-latin chars on CSV files to import.
|
1 |
=== WordPress Charts and Graphs Lite ===
|
2 |
+
Contributors: codeinwp,marius2012,marius_codeinwp,hardeepasrani,themeisle,Madalin_ThemeIsle,rozroz
|
3 |
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
|
4 |
Requires at least: 3.5
|
5 |
+
Tested up to: 4.8.0
|
6 |
Stable tag: trunk
|
7 |
License: GPL v2.0 or later
|
8 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
118 |
5. Charts library
|
119 |
|
120 |
== Changelog ==
|
121 |
+
= 2.1.6 =
|
122 |
+
|
123 |
+
|
124 |
+
|
125 |
|
126 |
= 2.1.4 =
|
127 |
* Fixed issues with non-latin chars on CSV files to import.
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit48a877d551bf6f2e924ff22c8fee44f1::getLoader();
|
vendor/autoload_52.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit01f7ce712f0d6462c3d204792d372436::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitaeace7ec6202774d671c1ec938c3d0d7
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit48a877d551bf6f2e924ff22c8fee44f1
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit48a877d551bf6f2e924ff22c8fee44f1', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit48a877d551bf6f2e924ff22c8fee44f1', 'loadClassLoader'));
|
25 |
|
26 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
27 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_real_52.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
-
class
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit248f4b79c46935c7bdc2f721ab92b647 {
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|
2 |
|
3 |
// autoload_real_52.php generated by xrstf/composer-php52
|
4 |
|
5 |
+
class ComposerAutoloaderInit01f7ce712f0d6462c3d204792d372436 {
|
6 |
private static $loader;
|
7 |
|
8 |
public static function loadClassLoader($class) {
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInit01f7ce712f0d6462c3d204792d372436', 'loadClassLoader'), true /*, true */);
|
23 |
self::$loader = $loader = new xrstf_Composer52_ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit01f7ce712f0d6462c3d204792d372436', 'loadClassLoader'));
|
25 |
|
26 |
$vendorDir = dirname(dirname(__FILE__));
|
27 |
$baseDir = dirname($vendorDir);
|