WordPress Charts and Graphs Lite - Version 2.1.0

Version Description

  • Fixed geomap issue with apikey.
  • Fixed responsive issues on tabbed interface and page builders.
  • Added compatibility with premium import from posts/page feature.
Download this release

Release Info

Developer codeinwp
Plugin Icon WordPress Charts and Graphs Lite
Version 2.1.0
Comparing to
See all releases

Code changes from version 2.0.4 to 2.1.0

CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
 
 
 
 
 
 
 
 
2
  ### v2.0.4 - 2017-04-21
3
  **Changes:**
4
  - Fixed library rendering issue.
1
 
2
+ ### v2.1.0 - 2017-05-12
3
+ **Changes:**
4
+ - Fixed responsive issues on pagebuilders.
5
+ - Fixed chart rendering if container is not found.
6
+ - Added api key for geotype map.
7
+ - Added compatibility with import from post_types.
8
+
9
  ### v2.0.4 - 2017-04-21
10
  **Changes:**
11
  - Fixed library rendering issue.
classes/Visualizer/Module/Admin.php CHANGED
@@ -59,7 +59,6 @@ class Visualizer_Module_Admin extends Visualizer_Module {
59
  $this->_addFilter( 'media_view_strings', 'setupMediaViewStrings' );
60
  $this->_addFilter( 'plugin_action_links', 'getPluginActionLinks', 10, 2 );
61
  $this->_addFilter( 'plugin_row_meta', 'getPluginMetaLinks', 10, 2 );
62
- $this->_addFilter( 'visualizer_logger_flag', 'get_logger_flag', 10, 1 );
63
  $this->_addAjaxAction( Visualizer_Plugin::ACTION_TRACK, 'visualizer_enable_track' );
64
  }
65
 
@@ -77,17 +76,6 @@ class Visualizer_Module_Admin extends Visualizer_Module {
77
  wp_send_json_success( array( 'status' => $status ) );
78
  }
79
 
80
- /**
81
- * Either the tracking is active or not.
82
- *
83
- * @return bool The flag status.
84
- */
85
- public function get_logger_flag() {
86
- $flag = get_option( 'visualizer_logger_flag', 'no' );
87
-
88
- return ( $flag === 'yes' );
89
- }
90
-
91
  /**
92
  * Enqueues media scripts and styles.
93
  *
@@ -372,7 +360,7 @@ class Visualizer_Module_Admin extends Visualizer_Module {
372
  unset( $settings['height'], $settings['width'] );
373
  $type = get_post_meta( $chart->ID, Visualizer_Plugin::CF_CHART_TYPE, true );
374
  $series = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_SERIES, get_post_meta( $chart->ID, Visualizer_Plugin::CF_SERIES, true ), $chart->ID, $type );
375
- $data = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_DATA, unserialize( $chart->post_content ), $chart->ID, $type );
376
  // add chart to the array
377
  $charts[ 'visualizer-' . $chart->ID ] = array(
378
  'id' => $chart->ID,
59
  $this->_addFilter( 'media_view_strings', 'setupMediaViewStrings' );
60
  $this->_addFilter( 'plugin_action_links', 'getPluginActionLinks', 10, 2 );
61
  $this->_addFilter( 'plugin_row_meta', 'getPluginMetaLinks', 10, 2 );
 
62
  $this->_addAjaxAction( Visualizer_Plugin::ACTION_TRACK, 'visualizer_enable_track' );
63
  }
64
 
76
  wp_send_json_success( array( 'status' => $status ) );
77
  }
78
 
 
 
 
 
 
 
 
 
 
 
 
79
  /**
80
  * Enqueues media scripts and styles.
81
  *
360
  unset( $settings['height'], $settings['width'] );
361
  $type = get_post_meta( $chart->ID, Visualizer_Plugin::CF_CHART_TYPE, true );
362
  $series = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_SERIES, get_post_meta( $chart->ID, Visualizer_Plugin::CF_SERIES, true ), $chart->ID, $type );
363
+ $data = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_DATA, unserialize( html_entity_decode( $chart->post_content ) ), $chart->ID, $type );
364
  // add chart to the array
365
  $charts[ 'visualizer-' . $chart->ID ] = array(
366
  'id' => $chart->ID,
classes/Visualizer/Module/Chart.php CHANGED
@@ -258,6 +258,9 @@ class Visualizer_Module_Chart extends Visualizer_Module {
258
  * Handle data and settings page
259
  */
260
  private function _handleDataAndSettingsPage() {
 
 
 
261
  if ( $_SERVER['REQUEST_METHOD'] == 'POST' && isset( $_GET['nonce'] ) && wp_verify_nonce( $_GET['nonce'] ) ) {
262
  if ( $this->_chart->post_status == 'auto-draft' ) {
263
  $this->_chart->post_status = 'publish';
@@ -297,6 +300,7 @@ class Visualizer_Module_Chart extends Visualizer_Module {
297
  'charts' => array(
298
  'canvas' => $data,
299
  ),
 
300
  ) );
301
  $render = new Visualizer_Render_Page_Data();
302
  $render->chart = $this->_chart;
@@ -375,6 +379,7 @@ class Visualizer_Module_Chart extends Visualizer_Module {
375
  * @access public
376
  */
377
  public function uploadData() {
 
378
  // validate nonce
379
  // do not use filter_input as it does not work for phpunit test cases, use filter_var instead
380
  if ( ! isset( $_GET['nonce'] ) || ! wp_verify_nonce( $_GET['nonce'] ) ) {
@@ -420,7 +425,9 @@ class Visualizer_Module_Chart extends Visualizer_Module {
420
  }
421
  }
422
  $render->render();
423
- defined( 'WP_TESTS_DOMAIN' ) ? wp_die() : exit();
 
 
424
  }
425
 
426
  /**
258
  * Handle data and settings page
259
  */
260
  private function _handleDataAndSettingsPage() {
261
+ if ( isset( $_POST['map_api_key'] ) ) {
262
+ update_option( 'visualizer-map-api-key', $_POST['map_api_key'] );
263
+ }
264
  if ( $_SERVER['REQUEST_METHOD'] == 'POST' && isset( $_GET['nonce'] ) && wp_verify_nonce( $_GET['nonce'] ) ) {
265
  if ( $this->_chart->post_status == 'auto-draft' ) {
266
  $this->_chart->post_status = 'publish';
300
  'charts' => array(
301
  'canvas' => $data,
302
  ),
303
+ 'map_api_key' => get_option( 'visualizer-map-api-key' ),
304
  ) );
305
  $render = new Visualizer_Render_Page_Data();
306
  $render->chart = $this->_chart;
379
  * @access public
380
  */
381
  public function uploadData() {
382
+ error_log( 'in uploadData ' . print_r( $_GET,true ) . print_r( $_POST,true ) );
383
  // validate nonce
384
  // do not use filter_input as it does not work for phpunit test cases, use filter_var instead
385
  if ( ! isset( $_GET['nonce'] ) || ! wp_verify_nonce( $_GET['nonce'] ) ) {
425
  }
426
  }
427
  $render->render();
428
+ if ( ! ( defined( 'VISUALIZER_DO_NOT_DIE' ) && VISUALIZER_DO_NOT_DIE ) ) {
429
+ defined( 'WP_TESTS_DOMAIN' ) ? wp_die() : exit();
430
+ }
431
  }
432
 
433
  /**
classes/Visualizer/Module/Frontend.php CHANGED
@@ -152,7 +152,8 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
152
  // enqueue visualizer render and update render localizations
153
  wp_enqueue_script( 'visualizer-render' );
154
  wp_localize_script( 'visualizer-render', 'visualizer', array(
155
- 'charts' => $this->_charts,
 
156
  ) );
157
 
158
  // return placeholder div
152
  // enqueue visualizer render and update render localizations
153
  wp_enqueue_script( 'visualizer-render' );
154
  wp_localize_script( 'visualizer-render', 'visualizer', array(
155
+ 'charts' => $this->_charts,
156
+ 'map_api_key' => get_option( 'visualizer-map-api-key' ),
157
  ) );
158
 
159
  // return placeholder div
classes/Visualizer/Module/Setup.php CHANGED
@@ -44,6 +44,18 @@ class Visualizer_Module_Setup extends Visualizer_Module {
44
 
45
  $this->_addAction( 'init', 'setupCustomPostTypes' );
46
  $this->_addAction( 'plugins_loaded', 'loadTextDomain' );
 
 
 
 
 
 
 
 
 
 
 
 
47
  }
48
 
49
  /**
44
 
45
  $this->_addAction( 'init', 'setupCustomPostTypes' );
46
  $this->_addAction( 'plugins_loaded', 'loadTextDomain' );
47
+ $this->_addFilter( 'visualizer_logger_flag', 'get_logger_flag', 10, 1 );
48
+ }
49
+
50
+ /**
51
+ * Either the tracking is active or not.
52
+ *
53
+ * @return bool The flag status.
54
+ */
55
+ public function get_logger_flag() {
56
+ $flag = get_option( 'visualizer_logger_flag', 'no' );
57
+
58
+ return ( $flag === 'yes' );
59
  }
60
 
61
  /**
classes/Visualizer/Plugin.php CHANGED
@@ -28,7 +28,7 @@
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
- const VERSION = '2.0.4';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
28
  class Visualizer_Plugin {
29
 
30
  const NAME = 'visualizer';
31
+ const VERSION = '2.1.0';
32
 
33
  // custom post types
34
  const CPT_VISUALIZER = 'visualizer';
classes/Visualizer/Render/Page/Data.php CHANGED
@@ -1,5 +1,4 @@
1
  <?php
2
-
3
  // +----------------------------------------------------------------------+
4
  // | Copyright 2013 Madpixels (email : visualizer@madpixels.net) |
5
  // +----------------------------------------------------------------------+
@@ -41,7 +40,10 @@ class Visualizer_Render_Page_Data extends Visualizer_Render_Page {
41
  // Added by Ash/Upwork
42
  if ( VISUALIZER_PRO ) {
43
  global $Visualizer_Pro;
44
- $Visualizer_Pro->_addEditor();
 
 
 
45
  }
46
  // Added by Ash/Upwork
47
  echo '<div id="canvas">';
@@ -62,8 +64,8 @@ class Visualizer_Render_Page_Data extends Visualizer_Render_Page {
62
  'nonce' => wp_create_nonce(),
63
  'chart' => $this->chart->ID,
64
  ), admin_url( 'admin-ajax.php' ) );
65
-
66
  ?>
 
67
  <iframe id="thehole" name="thehole"></iframe>
68
  <ul class="group-wrapper full-height">
69
  <li class="group group-category open" id="vz-chart-source">
@@ -76,15 +78,15 @@ class Visualizer_Render_Page_Data extends Visualizer_Render_Page {
76
  <h2 class="group-title sub-group visualizer-src-tab"><?php _e( 'Import data from file', 'visualizer' ); ?></h2>
77
  <div class="group-content">
78
  <p class="group-description"><?php esc_html_e( 'Select and upload your data CSV file here. The first row of the CSV file should contain the column headings. The second one should contain series type (string, number, boolean, date, datetime, timeofday).', 'visualizer' ); ?></p>
79
- <p class="group-description"><?php echo sprintf( __( 'If you are unsure about how to format your data CSV then please take a look at this sample: %1$s %2$s%3$s', 'visualizer' ), '<a href="' . VISUALIZER_ABSURL . 'samples/' . $this->type . '.csv" target="_blank">' , $this->type , '.csv</a>' ); ?></p>
80
  <form id="vz-csv-file-form" action="<?php echo $upload_link ?>" method="post"
81
- target="thehole" enctype="multipart/form-data">
82
  <input type="hidden" id="remote-data" name="remote_data">
83
  <div class="">
84
  <input type="file" id="csv-file" name="local_data">
85
  </div>
86
  <input type="button" class="button button-primary" id="vz-import-file"
87
- value="<?php _e( 'Import', 'visualizer' ); ?>">
88
  </form>
89
  </div>
90
  </li>
@@ -96,56 +98,58 @@ class Visualizer_Render_Page_Data extends Visualizer_Render_Page {
96
 
97
  <div class="section-items">
98
  <p class="group-description"><?php _e( 'You can use this to import data from a remote CSV file. The first row of the CSV file should contain the column headings. The second one should contain series type (string, number, boolean, date, datetime, timeofday).', 'visualizer' ); ?> </p>
99
- <p class="group-description"><?php echo sprintf( __( 'If you are unsure about how to format your data CSV then please take a look at this sample: %1$s %2$s%3$s', 'visualizer' ), '<a href="' . VISUALIZER_ABSURL . 'samples/' . $this->type . '.csv" target="_blank">' , $this->type , '.csv</a>' ); ?></p>
100
  <p class="group-description"> <?php _e( 'You can also import data from Google Spreadsheet, for more info check <a href="https://github.com/Codeinwp/visualizer/wiki/How-can-I-populate-data-from-Google-Spreadsheet%3F" target="_blank" >this</a> tutorial', 'visualizer' ); ?></p>
101
  <form id="vz-one-time-import" action="<?php echo $upload_link ?>" method="post"
102
- target="thehole" enctype="multipart/form-data">
103
  <div class="remote-file-section">
104
  <input type="url" id="remote-data" name="remote_data"
105
- placeholder="<?php esc_html_e( 'Please enter the URL of CSV file', 'visualizer' ); ?>"
106
- class="visualizer-input">
107
 
108
  </div>
109
  <input type="button" id="view-remote-file" class="button button-primary"
110
- value="<?php _e( 'Import', 'visualizer' ); ?>">
111
  </form>
112
  </div>
113
  </li>
114
- <li class="subsection <?php echo apply_filters( 'visualizer_pro_upsell_class','only-pro-feature', 'schedule-chart' ); ?>">
115
- <span class="section-title visualizer-import-url-schedule"><?php _e( 'Schedule Import', 'visualizer' ); ?><span
 
116
  class="dashicons dashicons-lock"></span></span>
117
  <div class="section-items">
118
  <p class="group-description"><?php _e( 'You can choose here to synchronize your chart data with a remote CSV file.', 'visualizer' ); ?> </p>
119
  <p class="group-description"> <?php _e( 'You can also synchronize with your Google Spreadsheet file, for more info check <a href="https://github.com/Codeinwp/visualizer/wiki/How-can-I-populate-data-from-Google-Spreadsheet%3F" target="_blank" >this</a> tutorial', 'visualizer' ); ?></p>
120
  <p class="group-description"> <?php _e( 'We will update the chart data based on your time interval preference by overwritting the current data with the one from the URL.', 'visualizer' ); ?></p>
121
  <form id="vz-schedule-import" action="<?php echo $upload_link ?>" method="post"
122
- target="thehole" enctype="multipart/form-data">
123
  <div class="remote-file-section">
124
- <input type="url" id="vz-schedule-url" name="remote_data" value="<?php echo get_post_meta( $this->chart->ID, Visualizer_Plugin::CF_CHART_URL, true );?>"
125
- placeholder="<?php esc_html_e( 'Please enter the URL of CSV file', 'visualizer' ); ?>"
126
- class="visualizer-input visualizer-remote-url">
 
127
  <p class="group-description"><?php _e( 'How often do you want to check the url', 'visualizer' ); ?></p>
128
- <select name="vz-import-time" id="vz-import-time" class="visualizer-select">
129
- <?php
130
- $hours = get_post_meta( $this->chart->ID, Visualizer_Plugin::CF_CHART_SCHEDULE, true );
131
- $schedules = array(
132
- '1' => __( 'Each hour', 'visualizer' ),
133
- '12' => __( 'Each 12 hours', 'visualizer' ),
134
- '24' => __( 'Each day', 'visualizer' ),
135
- '36' => __( 'Each 3 days', 'visualizer' ),
136
- );
137
- foreach ( $schedules as $num => $name ) {
138
- $extra = $num == $hours ? 'selected' : '';
139
- ?>
140
- <option value="<?php echo $num;?>" <?php echo $extra;?>><?php echo $name;?></option>
141
- <?php
142
- }
143
- ?>
 
144
  </select>
145
  </div>
146
  <input type="button" id="vz-save-schedule" class="button button-primary"
147
- value="<?php _e( 'Save schedule', 'visualizer' ); ?>">
148
-
149
 
150
  <?php echo apply_filters( 'visualizer_pro_upsell', '', 'schedule-chart' ); ?>
151
  </form>
@@ -153,58 +157,76 @@ class Visualizer_Render_Page_Data extends Visualizer_Render_Page {
153
  </li>
154
  </ul>
155
  </li>
156
- <li class="group <?php echo apply_filters( 'visualizer_pro_upsell_class','only-pro-feature' ); ?> ">
157
  <h2 class="group-title sub-group"
158
- data-current="chart"><?php _e( 'Import from other chart', 'visualizer' ); ?><span
159
  class="dashicons dashicons-lock"></span></h2>
160
  <div class="group-content edit-data-content">
161
  <div>
162
  <p class="group-description"><?php _e( 'You can import here data from your previously created charts', 'visualizer' ); ?></p>
163
  <form>
164
  <select name="vz-import-from-chart" id="chart-id" class="visualizer-select">
165
- <?php
166
- $fetch_link = add_query_arg( array(
167
- 'action' => ( VISUALIZER_PRO ) ? Visualizer_Pro::ACTION_FETCH_DATA : '',
168
- 'nonce' => wp_create_nonce(),
169
- ), admin_url( 'admin-ajax.php' ) );
170
-
171
- $query_args_charts = array(
172
- 'post_type' => Visualizer_Plugin::CPT_VISUALIZER,
173
- 'posts_per_page' => 300,
174
- 'no_found_rows' => true,
175
- );
176
- $charts = array();
177
- $query = new WP_Query( $query_args_charts );
178
- while ( $query->have_posts() ) {
179
- $chart = $query->next_post();
180
- $settings = get_post_meta( $chart->ID, Visualizer_Plugin::CF_SETTINGS, true );
181
- ?>
182
- <option value="<?php echo $chart->ID; ?>"><?php echo empty( $settings['title'] ) ? '#' . $chart->ID : $settings['title']; ?></option>
183
- <?php
184
- }
185
- ?>
186
 
187
  </select>
188
  </form>
189
- <input type="button" id="existing-chart" class="button button-primary"
190
- value="<?php _e( 'Import Chart', 'visualizer' ); ?>" data-viz-link="<?php echo $fetch_link;?>">
 
191
  <?php echo apply_filters( 'visualizer_pro_upsell', '' ); ?>
192
  </div>
193
  </div>
194
  </li>
195
- <li class="group <?php echo apply_filters( 'visualizer_pro_upsell_class','only-pro-feature' ); ?>">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
196
  <h2 class="group-title sub-group visualizer-editor-tab"
197
- data-current="chart"><?php _e( 'Edit current data', 'visualizer' ); ?><span
198
  class="dashicons dashicons-lock"></span></h2>
199
- <form id="editor-form" action="<?php echo $upload_link?>" method="post" target="thehole">
200
- <input type="hidden" id="chart-data" name="chart_data">
201
- </form>
202
 
203
  <div class="group-content edit-data-content">
204
  <div>
205
  <p class="group-description"><?php _e( 'You can manually edit the chart data using the spreadsheet like editor.', 'visualizer' ); ?></p>
206
  <input type="button" id="editor-chart-button" class="button button-primary "
207
- value="<?php _e( 'View Editor', 'visualizer' ); ?>" data-current="chart" data-t-editor="<?php _e( 'Show Chart', 'visualizer' );?>" data-t-chart="<?php _e( 'View Editor', 'visualizer' );?>">
 
 
208
 
209
  <?php echo apply_filters( 'visualizer_pro_upsell', '' ); ?>
210
  </div>
@@ -221,7 +243,7 @@ class Visualizer_Render_Page_Data extends Visualizer_Render_Page {
221
  </div>
222
  <ul class="group-content">
223
  <form id="settings-form" action="<?php echo add_query_arg( 'nonce', wp_create_nonce() ); ?>"
224
- method="post">
225
  <?php echo $this->sidebar; ?>
226
  </form>
227
  </ul>
@@ -251,7 +273,6 @@ class Visualizer_Render_Page_Data extends Visualizer_Render_Page {
251
  echo '</a>';
252
  echo '</div>';
253
  echo '<input type="submit" id="settings-button" class="button button-primary button-large push-right" value="', $this->button, '">';
254
-
255
  echo '</div>';
256
 
257
  }
1
  <?php
 
2
  // +----------------------------------------------------------------------+
3
  // | Copyright 2013 Madpixels (email : visualizer@madpixels.net) |
4
  // +----------------------------------------------------------------------+
40
  // Added by Ash/Upwork
41
  if ( VISUALIZER_PRO ) {
42
  global $Visualizer_Pro;
43
+ $Visualizer_Pro->_addEditor( $this->chart->ID );
44
+ if ( method_exists( $Visualizer_Pro, '_addFilterWizard' ) ) {
45
+ $Visualizer_Pro->_addFilterWizard( $this->chart->ID );
46
+ }
47
  }
48
  // Added by Ash/Upwork
49
  echo '<div id="canvas">';
64
  'nonce' => wp_create_nonce(),
65
  'chart' => $this->chart->ID,
66
  ), admin_url( 'admin-ajax.php' ) );
 
67
  ?>
68
+ <span id="visualizer-chart-id" data-id="<?php echo $this->chart->ID; ?>"></span>
69
  <iframe id="thehole" name="thehole"></iframe>
70
  <ul class="group-wrapper full-height">
71
  <li class="group group-category open" id="vz-chart-source">
78
  <h2 class="group-title sub-group visualizer-src-tab"><?php _e( 'Import data from file', 'visualizer' ); ?></h2>
79
  <div class="group-content">
80
  <p class="group-description"><?php esc_html_e( 'Select and upload your data CSV file here. The first row of the CSV file should contain the column headings. The second one should contain series type (string, number, boolean, date, datetime, timeofday).', 'visualizer' ); ?></p>
81
+ <p class="group-description"><?php echo sprintf( __( 'If you are unsure about how to format your data CSV then please take a look at this sample: %1$s %2$s%3$s', 'visualizer' ), '<a href="' . VISUALIZER_ABSURL . 'samples/' . $this->type . '.csv" target="_blank">', $this->type, '.csv</a>' ); ?></p>
82
  <form id="vz-csv-file-form" action="<?php echo $upload_link ?>" method="post"
83
+ target="thehole" enctype="multipart/form-data">
84
  <input type="hidden" id="remote-data" name="remote_data">
85
  <div class="">
86
  <input type="file" id="csv-file" name="local_data">
87
  </div>
88
  <input type="button" class="button button-primary" id="vz-import-file"
89
+ value="<?php _e( 'Import', 'visualizer' ); ?>">
90
  </form>
91
  </div>
92
  </li>
98
 
99
  <div class="section-items">
100
  <p class="group-description"><?php _e( 'You can use this to import data from a remote CSV file. The first row of the CSV file should contain the column headings. The second one should contain series type (string, number, boolean, date, datetime, timeofday).', 'visualizer' ); ?> </p>
101
+ <p class="group-description"><?php echo sprintf( __( 'If you are unsure about how to format your data CSV then please take a look at this sample: %1$s %2$s%3$s', 'visualizer' ), '<a href="' . VISUALIZER_ABSURL . 'samples/' . $this->type . '.csv" target="_blank">', $this->type, '.csv</a>' ); ?></p>
102
  <p class="group-description"> <?php _e( 'You can also import data from Google Spreadsheet, for more info check <a href="https://github.com/Codeinwp/visualizer/wiki/How-can-I-populate-data-from-Google-Spreadsheet%3F" target="_blank" >this</a> tutorial', 'visualizer' ); ?></p>
103
  <form id="vz-one-time-import" action="<?php echo $upload_link ?>" method="post"
104
+ target="thehole" enctype="multipart/form-data">
105
  <div class="remote-file-section">
106
  <input type="url" id="remote-data" name="remote_data"
107
+ placeholder="<?php esc_html_e( 'Please enter the URL of CSV file', 'visualizer' ); ?>"
108
+ class="visualizer-input">
109
 
110
  </div>
111
  <input type="button" id="view-remote-file" class="button button-primary"
112
+ value="<?php _e( 'Import', 'visualizer' ); ?>">
113
  </form>
114
  </div>
115
  </li>
116
+ <li class="subsection <?php echo apply_filters( 'visualizer_pro_upsell_class', 'only-pro-feature', 'schedule-chart' ); ?>">
117
+ <span class="section-title visualizer-import-url-schedule"><?php _e( 'Schedule Import', 'visualizer' ); ?>
118
+ <span
119
  class="dashicons dashicons-lock"></span></span>
120
  <div class="section-items">
121
  <p class="group-description"><?php _e( 'You can choose here to synchronize your chart data with a remote CSV file.', 'visualizer' ); ?> </p>
122
  <p class="group-description"> <?php _e( 'You can also synchronize with your Google Spreadsheet file, for more info check <a href="https://github.com/Codeinwp/visualizer/wiki/How-can-I-populate-data-from-Google-Spreadsheet%3F" target="_blank" >this</a> tutorial', 'visualizer' ); ?></p>
123
  <p class="group-description"> <?php _e( 'We will update the chart data based on your time interval preference by overwritting the current data with the one from the URL.', 'visualizer' ); ?></p>
124
  <form id="vz-schedule-import" action="<?php echo $upload_link ?>" method="post"
125
+ target="thehole" enctype="multipart/form-data">
126
  <div class="remote-file-section">
127
+ <input type="url" id="vz-schedule-url" name="remote_data"
128
+ value="<?php echo get_post_meta( $this->chart->ID, Visualizer_Plugin::CF_CHART_URL, true ); ?>"
129
+ placeholder="<?php esc_html_e( 'Please enter the URL of CSV file', 'visualizer' ); ?>"
130
+ class="visualizer-input visualizer-remote-url">
131
  <p class="group-description"><?php _e( 'How often do you want to check the url', 'visualizer' ); ?></p>
132
+ <select name="vz-import-time" id="vz-import-time"
133
+ class="visualizer-select">
134
+ <?php
135
+ $hours = get_post_meta( $this->chart->ID, Visualizer_Plugin::CF_CHART_SCHEDULE, true );
136
+ $schedules = array(
137
+ '1' => __( 'Each hour', 'visualizer' ),
138
+ '12' => __( 'Each 12 hours', 'visualizer' ),
139
+ '24' => __( 'Each day', 'visualizer' ),
140
+ '36' => __( 'Each 3 days', 'visualizer' ),
141
+ );
142
+ foreach ( $schedules as $num => $name ) {
143
+ $extra = $num == $hours ? 'selected' : '';
144
+ ?>
145
+ <option value="<?php echo $num; ?>" <?php echo $extra; ?>><?php echo $name; ?></option>
146
+ <?php
147
+ }
148
+ ?>
149
  </select>
150
  </div>
151
  <input type="button" id="vz-save-schedule" class="button button-primary"
152
+ value="<?php _e( 'Save schedule', 'visualizer' ); ?>">
 
153
 
154
  <?php echo apply_filters( 'visualizer_pro_upsell', '', 'schedule-chart' ); ?>
155
  </form>
157
  </li>
158
  </ul>
159
  </li>
160
+ <li class="group <?php echo apply_filters( 'visualizer_pro_upsell_class' ); ?> ">
161
  <h2 class="group-title sub-group"
162
+ data-current="chart"><?php _e( 'Import from other chart', 'visualizer' ); ?><span
163
  class="dashicons dashicons-lock"></span></h2>
164
  <div class="group-content edit-data-content">
165
  <div>
166
  <p class="group-description"><?php _e( 'You can import here data from your previously created charts', 'visualizer' ); ?></p>
167
  <form>
168
  <select name="vz-import-from-chart" id="chart-id" class="visualizer-select">
169
+ <?php
170
+ $fetch_link = add_query_arg( array(
171
+ 'action' => ( VISUALIZER_PRO ) ? Visualizer_Pro::ACTION_FETCH_DATA : '',
172
+ 'nonce' => wp_create_nonce(),
173
+ ), admin_url( 'admin-ajax.php' ) );
174
+ $query_args_charts = array(
175
+ 'post_type' => Visualizer_Plugin::CPT_VISUALIZER,
176
+ 'posts_per_page' => 300,
177
+ 'no_found_rows' => true,
178
+ );
179
+ $charts = array();
180
+ $query = new WP_Query( $query_args_charts );
181
+ while ( $query->have_posts() ) {
182
+ $chart = $query->next_post();
183
+ $settings = get_post_meta( $chart->ID, Visualizer_Plugin::CF_SETTINGS, true );
184
+ ?>
185
+ <option value="<?php echo $chart->ID; ?>"><?php echo empty( $settings['title'] ) ? '#' . $chart->ID : $settings['title']; ?></option>
186
+ <?php
187
+ }
188
+ ?>
 
189
 
190
  </select>
191
  </form>
192
+ <input type="button" id="existing-chart" class="button button-primary"
193
+ value="<?php _e( 'Import Chart', 'visualizer' ); ?>"
194
+ data-viz-link="<?php echo $fetch_link; ?>">
195
  <?php echo apply_filters( 'visualizer_pro_upsell', '' ); ?>
196
  </div>
197
  </div>
198
  </li>
199
+
200
+ <li class="group <?php echo apply_filters( 'visualizer_pro_upsell_class', 'only-pro-feature', 'schedule-chart' ); ?> ">
201
+ <h2 class="group-title sub-group"><?php _e( 'Import from Wordpress', 'visualizer' ); ?><span
202
+ class="dashicons dashicons-lock"></span></h2>
203
+ <div class="group-content edit-data-content">
204
+ <div>
205
+ <p class="group-description"><?php _e( 'You can import here data from Wordpress', 'visualizer' ); ?></p>
206
+ <input type="button" id="filter-chart-button" class="button button-primary "
207
+ value="<?php _e( 'Create Filters', 'visualizer' ); ?>" data-current="chart"
208
+ data-t-filter="<?php _e( 'Show Chart', 'visualizer' ); ?>"
209
+ data-t-chart="<?php _e( 'Create Filters', 'visualizer' ); ?>">
210
+ <?php echo apply_filters( 'visualizer_pro_upsell', '', 'schedule-chart' ); ?>
211
+ </div>
212
+ </div>
213
+ </li>
214
+
215
+ <li class="group <?php echo apply_filters( 'visualizer_pro_upsell_class', 'only-pro-feature' ); ?>">
216
  <h2 class="group-title sub-group visualizer-editor-tab"
217
+ data-current="chart"><?php _e( 'Add data manually', 'visualizer' ); ?><span
218
  class="dashicons dashicons-lock"></span></h2>
219
+ <form id="editor-form" action="<?php echo $upload_link ?>" method="post" target="thehole">
220
+ <input type="hidden" id="chart-data" name="chart_data">
221
+ </form>
222
 
223
  <div class="group-content edit-data-content">
224
  <div>
225
  <p class="group-description"><?php _e( 'You can manually edit the chart data using the spreadsheet like editor.', 'visualizer' ); ?></p>
226
  <input type="button" id="editor-chart-button" class="button button-primary "
227
+ value="<?php _e( 'View Editor', 'visualizer' ); ?>" data-current="chart"
228
+ data-t-editor="<?php _e( 'Show Chart', 'visualizer' ); ?>"
229
+ data-t-chart="<?php _e( 'View Editor', 'visualizer' ); ?>">
230
 
231
  <?php echo apply_filters( 'visualizer_pro_upsell', '' ); ?>
232
  </div>
243
  </div>
244
  <ul class="group-content">
245
  <form id="settings-form" action="<?php echo add_query_arg( 'nonce', wp_create_nonce() ); ?>"
246
+ method="post">
247
  <?php echo $this->sidebar; ?>
248
  </form>
249
  </ul>
273
  echo '</a>';
274
  echo '</div>';
275
  echo '<input type="submit" id="settings-button" class="button button-primary button-large push-right" value="', $this->button, '">';
 
276
  echo '</div>';
277
 
278
  }
classes/Visualizer/Render/Sidebar/Type/Geo.php CHANGED
@@ -54,6 +54,22 @@ class Visualizer_Render_Sidebar_Type_Geo extends Visualizer_Render_Sidebar {
54
  */
55
  protected function _renderMapSettings() {
56
  self::_renderGroupStart( esc_html__( 'Map Settings', 'visualizer' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  self::_renderSectionStart( esc_html__( 'Region', 'visualizer' ), false );
58
  self::_renderSectionDescription(
59
  esc_html__( 'Configure the region area to display on the map. (Surrounding areas will be displayed as well.) Can be one of the following:' , 'visualizer' ) .
54
  */
55
  protected function _renderMapSettings() {
56
  self::_renderGroupStart( esc_html__( 'Map Settings', 'visualizer' ) );
57
+
58
+ self::_renderSectionStart( esc_html__( 'API', 'visualizer' ), false );
59
+ self::_renderSectionDescription(
60
+ sprintf( esc_html__( 'Add the Google Maps API key (Click %1$shere%2$s to get the key)', 'visualizer' ), '<a href="https://developers.google.com/maps/documentation/javascript/get-api-key" target="_blank">', '</a>' )
61
+ );
62
+
63
+ self::_renderTextItem(
64
+ esc_html__( 'API Key', 'visualizer' ),
65
+ 'map_api_key',
66
+ get_option( 'visualizer-map-api-key' ),
67
+ '',
68
+ ''
69
+ );
70
+
71
+ self::_renderSectionEnd();
72
+
73
  self::_renderSectionStart( esc_html__( 'Region', 'visualizer' ), false );
74
  self::_renderSectionDescription(
75
  esc_html__( 'Configure the region area to display on the map. (Surrounding areas will be displayed as well.) Can be one of the following:' , 'visualizer' ) .
classes/Visualizer/Source/Csv/Remote.php CHANGED
@@ -72,7 +72,7 @@ class Visualizer_Source_Csv_Remote extends Visualizer_Source_Csv {
72
  // if filename is empty, extract it from chart content
73
  if ( empty( $this->_filename ) ) {
74
  $chart = get_post( $chart_id );
75
- $data = unserialize( $chart->post_content );
76
  if ( ! isset( $data['source'] ) ) {
77
  return false;
78
  }
72
  // if filename is empty, extract it from chart content
73
  if ( empty( $this->_filename ) ) {
74
  $chart = get_post( $chart_id );
75
+ $data = unserialize( html_entity_decode( $chart->post_content ) );
76
  if ( ! isset( $data['source'] ) ) {
77
  return false;
78
  }
css/media.css CHANGED
@@ -1,5 +1,5 @@
1
  /*
2
- Version: 2.0.4
3
  */
4
  #visualizer-library-view {
5
  padding: 30px 10px 10px 30px;
1
  /*
2
+ Version: 2.1.0
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.0.4
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.0
8
  Author: Themeisle
9
  Author URI: http://themeisle.com
10
  License: GPL v2.0 or later
js/render.js CHANGED
@@ -14,6 +14,9 @@
14
  settings = chart.settings;
15
 
16
  container = document.getElementById(id);
 
 
 
17
  table = new gv.DataTable({cols: series});
18
 
19
  render = v.objects[id] || null;
@@ -197,7 +200,7 @@
197
  }
198
  };
199
 
200
- g.charts.load("current", {packages: ["corechart", "geochart", "gauge", "table", "timeline"]});
201
  g.charts.setOnLoadCallback(function() {
202
  gv = g.visualization;
203
  v.render();
@@ -222,7 +225,7 @@
222
 
223
  function resizeHiddenContainers(everytime){
224
  $(".visualizer-front").parents().each(function(){
225
- if(!$(this).is(":visible") && !$(this).hasClass("visualizer-hidden-container")){
226
  $(this).addClass("visualizer-hidden-container");
227
  }
228
  });
14
  settings = chart.settings;
15
 
16
  container = document.getElementById(id);
17
+ if (container == null) {
18
+ return;
19
+ }
20
  table = new gv.DataTable({cols: series});
21
 
22
  render = v.objects[id] || null;
200
  }
201
  };
202
 
203
+ g.charts.load("current", {packages: ["corechart", "geochart", "gauge", "table", "timeline"], mapsApiKey: v.map_api_key});
204
  g.charts.setOnLoadCallback(function() {
205
  gv = g.visualization;
206
  v.render();
225
 
226
  function resizeHiddenContainers(everytime){
227
  $(".visualizer-front").parents().each(function(){
228
+ if(!$(this).hasClass("visualizer-hidden-container")){
229
  $(this).addClass("visualizer-hidden-container");
230
  }
231
  });
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.0.0\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/visualizer/issues\n"
7
- "POT-Creation-Date: 2017-04-12 10:19:50+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -24,113 +24,111 @@ msgstr ""
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
27
- #: classes/Visualizer/Module/Admin.php:133
28
  msgid "Visualizations"
29
  msgstr ""
30
 
31
- #: classes/Visualizer/Module/Admin.php:136
32
  msgid "From Library"
33
  msgstr ""
34
 
35
- #: classes/Visualizer/Module/Admin.php:137
36
  msgid "Create New"
37
  msgstr ""
38
 
39
- #: classes/Visualizer/Module/Admin.php:162
40
  msgid "Pie"
41
  msgstr ""
42
 
43
- #: classes/Visualizer/Module/Admin.php:166
44
  msgid "Line"
45
  msgstr ""
46
 
47
- #: classes/Visualizer/Module/Admin.php:170
48
  msgid "Area"
49
  msgstr ""
50
 
51
- #: classes/Visualizer/Module/Admin.php:174
52
  msgid "Geo"
53
  msgstr ""
54
 
55
- #: classes/Visualizer/Module/Admin.php:178
56
  msgid "Bar"
57
  msgstr ""
58
 
59
- #: classes/Visualizer/Module/Admin.php:182
60
  msgid "Column"
61
  msgstr ""
62
 
63
- #: classes/Visualizer/Module/Admin.php:186
64
  msgid "Gauge"
65
  msgstr ""
66
 
67
- #: classes/Visualizer/Module/Admin.php:190
68
  msgid "Scatter"
69
  msgstr ""
70
 
71
- #: classes/Visualizer/Module/Admin.php:194
72
  msgid "Candlestick"
73
  msgstr ""
74
 
75
- #: classes/Visualizer/Module/Admin.php:199
76
  msgid "Table"
77
  msgstr ""
78
 
79
- #: classes/Visualizer/Module/Admin.php:203
80
  msgid "Timeline"
81
  msgstr ""
82
 
83
- #: classes/Visualizer/Module/Admin.php:207
84
  msgid "Combo"
85
  msgstr ""
86
 
87
- #: classes/Visualizer/Module/Admin.php:313
88
  #: classes/Visualizer/Render/Library.php:42
89
  msgid "Visualizer Library"
90
  msgstr ""
91
 
92
- #: classes/Visualizer/Module/Admin.php:440
93
  msgid "Library"
94
  msgstr ""
95
 
96
- #: classes/Visualizer/Module/Admin.php:465
97
  msgid "Knowledge Base"
98
  msgstr ""
99
 
100
- #: classes/Visualizer/Module/Admin.php:470
101
  msgid "Pro Addon"
102
  msgstr ""
103
-
104
- #: classes/Visualizer/Module/Chart.php:295
105
- #: classes/Visualizer/Module/Chart.php:573
106
  msgid "You have entered invalid URL. Please, insert proper URL."
107
  msgstr ""
108
 
109
- #: classes/Visualizer/Module/Chart.php:307
110
  msgid "Save Chart"
111
  msgstr ""
112
 
113
- #: classes/Visualizer/Module/Chart.php:308
114
  msgid "Create Chart"
115
  msgstr ""
116
 
117
- #: classes/Visualizer/Module/Chart.php:310
118
  msgid "Insert Chart"
119
  msgstr ""
120
 
121
- #: classes/Visualizer/Module/Chart.php:407
122
  msgid "CSV file with chart data was not uploaded. Please, try again."
123
  msgstr ""
124
 
125
- #: classes/Visualizer/Module/Chart.php:419
126
  msgid "CSV file is broken or invalid. Please, try again."
127
  msgstr ""
128
 
129
- #: classes/Visualizer/Module/Sources.php:142
130
- msgid "Enable this feature in PRO version!"
131
  msgstr ""
132
 
133
- #: classes/Visualizer/Module/Sources.php:143
134
  msgid "Buy now"
135
  msgstr ""
136
 
@@ -148,7 +146,7 @@ msgstr ""
148
  msgid "Search"
149
  msgstr ""
150
 
151
- #: classes/Visualizer/Render/Library.php:133
152
  #: classes/Visualizer/Render/Templates.php:85
153
  msgid "No charts found"
154
  msgstr ""
@@ -199,79 +197,79 @@ msgstr ""
199
  msgid "View more features"
200
  msgstr ""
201
 
202
- #: classes/Visualizer/Render/Library.php:217
203
  msgid "Enable Tracking"
204
  msgstr ""
205
 
206
- #: classes/Visualizer/Render/Library.php:218
207
  msgid ""
208
  "Allow Visualizer to anonymously track how this plugin is used and help us "
209
  "make the plugin better. No sensitive data is tracked."
210
  msgstr ""
211
 
212
- #: classes/Visualizer/Render/Page/Data.php:71
213
  msgid "Chart Data"
214
  msgstr ""
215
 
216
- #: classes/Visualizer/Render/Page/Data.php:76
217
  msgid "Import data from file"
218
  msgstr ""
219
 
220
- #: classes/Visualizer/Render/Page/Data.php:78
221
  msgid ""
222
  "Select and upload your data CSV file here. The first row of the CSV file "
223
  "should contain the column headings. The second one should contain series "
224
  "type (string, number, boolean, date, datetime, timeofday)."
225
  msgstr ""
226
 
227
- #: classes/Visualizer/Render/Page/Data.php:79
228
- #: classes/Visualizer/Render/Page/Data.php:99
229
  msgid ""
230
  "If you are unsure about how to format your data CSV then please take a look "
231
  "at this sample: %1$s %2$s%3$s"
232
  msgstr ""
233
 
234
- #: classes/Visualizer/Render/Page/Data.php:87
235
- #: classes/Visualizer/Render/Page/Data.php:110
236
  msgid "Import"
237
  msgstr ""
238
 
239
- #: classes/Visualizer/Render/Page/Data.php:92
240
  msgid "Import data from URL"
241
  msgstr ""
242
 
243
- #: classes/Visualizer/Render/Page/Data.php:95
244
  msgid "One time import"
245
  msgstr ""
246
 
247
- #: classes/Visualizer/Render/Page/Data.php:98
248
  msgid ""
249
  "You can use this to import data from a remote CSV file. The first row of "
250
  "the CSV file should contain the column headings. The second one should "
251
  "contain series type (string, number, boolean, date, datetime, timeofday)."
252
  msgstr ""
253
 
254
- #: classes/Visualizer/Render/Page/Data.php:100
255
  msgid ""
256
  "You can also import data from Google Spreadsheet, for more info check <a "
257
  "href=\"https://github.com/Codeinwp/visualizer/wiki/How-can-I-populate-data-"
258
  "from-Google-Spreadsheet%3F\" target=\"_blank\" >this</a> tutorial"
259
  msgstr ""
260
 
261
- #: classes/Visualizer/Render/Page/Data.php:105
262
- #: classes/Visualizer/Render/Page/Data.php:125
263
  msgid "Please enter the URL of CSV file"
264
  msgstr ""
265
 
266
- #: classes/Visualizer/Render/Page/Data.php:115
267
  msgid "Schedule Import"
268
  msgstr ""
269
 
270
- #: classes/Visualizer/Render/Page/Data.php:118
271
  msgid "You can choose here to synchronize your chart data with a remote CSV file."
272
  msgstr ""
273
 
274
- #: classes/Visualizer/Render/Page/Data.php:119
275
  msgid ""
276
  "You can also synchronize with your Google Spreadsheet file, for more info "
277
  "check <a "
@@ -279,77 +277,92 @@ msgid ""
279
  "from-Google-Spreadsheet%3F\" target=\"_blank\" >this</a> tutorial"
280
  msgstr ""
281
 
282
- #: classes/Visualizer/Render/Page/Data.php:120
283
  msgid ""
284
  "We will update the chart data based on your time interval preference by "
285
  "overwritting the current data with the one from the URL."
286
  msgstr ""
287
 
288
- #: classes/Visualizer/Render/Page/Data.php:127
289
  msgid "How often do you want to check the url"
290
  msgstr ""
291
 
292
- #: classes/Visualizer/Render/Page/Data.php:132
293
  msgid "Each hour"
294
  msgstr ""
295
 
296
- #: classes/Visualizer/Render/Page/Data.php:133
297
  msgid "Each 12 hours"
298
  msgstr ""
299
 
300
- #: classes/Visualizer/Render/Page/Data.php:134
301
  msgid "Each day"
302
  msgstr ""
303
 
304
- #: classes/Visualizer/Render/Page/Data.php:135
305
  msgid "Each 3 days"
306
  msgstr ""
307
 
308
- #: classes/Visualizer/Render/Page/Data.php:147
309
  msgid "Save schedule"
310
  msgstr ""
311
 
312
- #: classes/Visualizer/Render/Page/Data.php:158
313
  msgid "Import from other chart"
314
  msgstr ""
315
 
316
- #: classes/Visualizer/Render/Page/Data.php:162
317
  msgid "You can import here data from your previously created charts"
318
  msgstr ""
319
 
320
- #: classes/Visualizer/Render/Page/Data.php:190
321
  msgid "Import Chart"
322
  msgstr ""
323
 
324
- #: classes/Visualizer/Render/Page/Data.php:197
325
- msgid "Edit current data"
326
  msgstr ""
327
 
328
  #: classes/Visualizer/Render/Page/Data.php:205
329
- msgid "You can manually edit the chart data using the spreadsheet like editor."
330
  msgstr ""
331
 
332
  #: classes/Visualizer/Render/Page/Data.php:207
333
- msgid "View Editor"
 
334
  msgstr ""
335
 
336
- #: classes/Visualizer/Render/Page/Data.php:207
 
337
  msgid "Show Chart"
338
  msgstr ""
339
 
340
  #: classes/Visualizer/Render/Page/Data.php:217
 
 
 
 
 
 
 
 
 
 
 
 
 
341
  msgid "Advanced Settings"
342
  msgstr ""
343
 
344
- #: classes/Visualizer/Render/Page/Data.php:220
345
  msgid "Chart Settings"
346
  msgstr ""
347
 
348
- #: classes/Visualizer/Render/Page/Data.php:231
349
  msgid "Rate our plugin"
350
  msgstr ""
351
 
352
- #: classes/Visualizer/Render/Page/Data.php:250
353
  #: classes/Visualizer/Render/Page/Settings.php:55
354
  msgid "Back"
355
  msgstr ""
@@ -561,13 +574,13 @@ msgstr ""
561
 
562
  #: classes/Visualizer/Render/Sidebar/Graph.php:222
563
  #: classes/Visualizer/Render/Sidebar/Graph.php:334
564
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:200
565
  msgid "Maximum Value"
566
  msgstr ""
567
 
568
  #: classes/Visualizer/Render/Sidebar/Graph.php:229
569
  #: classes/Visualizer/Render/Sidebar/Graph.php:341
570
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:186
571
  msgid "Minimum Value"
572
  msgstr ""
573
 
@@ -790,7 +803,7 @@ msgstr ""
790
 
791
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:101
792
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:125
793
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:360
794
  #: classes/Visualizer/Render/Sidebar.php:293
795
  msgid "Stroke Width"
796
  msgstr ""
@@ -801,7 +814,7 @@ msgstr ""
801
 
802
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:109
803
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:133
804
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:368
805
  #: classes/Visualizer/Render/Sidebar.php:301
806
  msgid "Stroke Color"
807
  msgstr ""
@@ -886,7 +899,7 @@ msgid "Layout & Chart Area"
886
  msgstr ""
887
 
888
  #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:229
889
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:324
890
  #: classes/Visualizer/Render/Sidebar.php:266
891
  msgid ""
892
  "Configure the total size of the chart. Two formats are supported: a number, "
@@ -895,13 +908,13 @@ msgid ""
895
  msgstr ""
896
 
897
  #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:233
898
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:328
899
  #: classes/Visualizer/Render/Sidebar.php:270
900
  msgid "Width And Height Of Chart"
901
  msgstr ""
902
 
903
  #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:247
904
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:342
905
  #: classes/Visualizer/Render/Sidebar.php:284
906
  msgid "Determines the total width and height of the chart."
907
  msgstr ""
@@ -910,231 +923,243 @@ msgstr ""
910
  msgid "Map Settings"
911
  msgstr ""
912
 
913
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:57
914
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:69
 
 
 
 
 
 
 
 
 
 
 
 
915
  msgid "Region"
916
  msgstr ""
917
 
918
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:59
919
  msgid ""
920
  "Configure the region area to display on the map. (Surrounding areas will be "
921
  "displayed as well.) Can be one of the following:"
922
  msgstr ""
923
 
924
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:61
925
  msgid "'world' - A map of the entire world."
926
  msgstr ""
927
 
928
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:62
929
  msgid ""
930
  "A continent or a sub-continent, specified by its %s code, e.g., '011' for "
931
  "Western Africa."
932
  msgstr ""
933
 
934
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:63
935
  msgid "A country, specified by its %s code, e.g., 'AU' for Australia."
936
  msgstr ""
937
 
938
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:64
939
  msgid ""
940
  "A state in the United States, specified by its %s code, e.g., 'US-AL' for "
941
  "Alabama. Note that the resolution option must be set to either 'provinces' "
942
  "or 'metros'."
943
  msgstr ""
944
 
945
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:77
946
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:89
947
  msgid "Resolution"
948
  msgstr ""
949
 
950
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:80
951
  msgid "The resolution of the map borders. Choose one of the following values:"
952
  msgstr ""
953
 
954
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:82
955
  msgid "'countries' - Supported for all regions, except for US state regions."
956
  msgstr ""
957
 
958
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:83
959
  msgid ""
960
  "'provinces' - Supported only for country regions and US state regions. Not "
961
  "supported for all countries; please test a country to see whether this "
962
  "option is supported."
963
  msgstr ""
964
 
965
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:84
966
  msgid "'metros' - Supported for the US country region and US state regions only."
967
  msgstr ""
968
 
969
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:94
970
  msgid "Countries"
971
  msgstr ""
972
 
973
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:95
974
  msgid "Provinces"
975
  msgstr ""
976
 
977
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:96
978
  msgid "Metros"
979
  msgstr ""
980
 
981
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:102
982
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:114
983
  msgid "Display Mode"
984
  msgstr ""
985
 
986
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:105
987
  msgid "Determines which type of map this is. The following values are supported:"
988
  msgstr ""
989
 
990
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:107
991
  msgid "'auto' - Choose based on the format of the data."
992
  msgstr ""
993
 
994
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:108
995
  msgid "'regions' - This is a region map."
996
  msgstr ""
997
 
998
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:109
999
  msgid "'markers' - This is a marker map."
1000
  msgstr ""
1001
 
1002
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:119
1003
  msgid "Auto"
1004
  msgstr ""
1005
 
1006
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:120
1007
  msgid "Regions"
1008
  msgstr ""
1009
 
1010
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:121
1011
  msgid "Markers"
1012
  msgstr ""
1013
 
1014
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:126
1015
  #: classes/Visualizer/Render/Sidebar.php:220
1016
  msgid "Tooltip"
1017
  msgstr ""
1018
 
1019
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:141
1020
  #: classes/Visualizer/Render/Sidebar.php:235
1021
  msgid "Trigger"
1022
  msgstr ""
1023
 
1024
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:146
1025
  #: classes/Visualizer/Render/Sidebar.php:240
1026
  msgid "The tooltip will be displayed when the user hovers over an element"
1027
  msgstr ""
1028
 
1029
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:147
1030
  #: classes/Visualizer/Render/Sidebar.php:242
1031
  msgid "The tooltip will not be displayed"
1032
  msgstr ""
1033
 
1034
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:149
1035
  #: classes/Visualizer/Render/Sidebar.php:244
1036
  msgid "Determines the user interaction that causes the tooltip to be displayed."
1037
  msgstr ""
1038
 
1039
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:161
1040
  msgid "Color Axis"
1041
  msgstr ""
1042
 
1043
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:163
1044
  msgid ""
1045
  "Configure color axis gradient scale, minimum and maximun values and a color "
1046
  "of the dateless regions."
1047
  msgstr ""
1048
 
1049
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:167
1050
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:231
1051
  msgid "Minimum And Maximum Values"
1052
  msgstr ""
1053
 
1054
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:181
1055
  msgid "Determines the minimum and maximum values of color axis."
1056
  msgstr ""
1057
 
1058
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:193
1059
  msgid "Intermediate Value"
1060
  msgstr ""
1061
 
1062
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:207
1063
  msgid "Dateless Region"
1064
  msgstr ""
1065
 
1066
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:225
1067
  msgid "Size Axis"
1068
  msgstr ""
1069
 
1070
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:227
1071
  msgid ""
1072
  "Configure how values are associated with bubble size, minimum and maximun "
1073
  "values and marker opacity setting."
1074
  msgstr ""
1075
 
1076
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:245
1077
  msgid "Determines the minimum and maximum values of size axis."
1078
  msgstr ""
1079
 
1080
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:251
1081
  msgid "Minimum And Maximum Marker Radius"
1082
  msgstr ""
1083
 
1084
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:265
1085
  msgid ""
1086
  "Determines the radius of the smallest and largest possible bubbles, in "
1087
  "pixels."
1088
  msgstr ""
1089
 
1090
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:270
1091
  msgid "Marker Opacity"
1092
  msgstr ""
1093
 
1094
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:273
1095
  msgid ""
1096
  "The opacity of the markers, where 0.0 is fully transparent and 1.0 is fully "
1097
  "opaque."
1098
  msgstr ""
1099
 
1100
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:291
1101
  msgid "Magnifying Glass"
1102
  msgstr ""
1103
 
1104
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:293
1105
  msgid ""
1106
  "Configure magnifying glass settings, which appears, when the user lingers "
1107
  "over a cluttered marker. Note: this feature is not supported in browsers "
1108
  "that do not support SVG, i.e. Internet Explorer version 8 or earlier."
1109
  msgstr ""
1110
 
1111
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:296
1112
  msgid "Enabled"
1113
  msgstr ""
1114
 
1115
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:300
1116
  msgid ""
1117
  "If yes, when the user lingers over a cluttered marker, a magnifiying glass "
1118
  "will be opened."
1119
  msgstr ""
1120
 
1121
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:304
1122
  msgid "Zoom Factor"
1123
  msgstr ""
1124
 
1125
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:307
1126
  msgid "The zoom factor of the magnifying glass. Can be any number greater than 0."
1127
  msgstr ""
1128
 
1129
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:322
1130
  msgid "Layout Settings"
1131
  msgstr ""
1132
 
1133
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:347
1134
  msgid "Keep Aspect Ratio"
1135
  msgstr ""
1136
 
1137
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:351
1138
  msgid ""
1139
  "If yes, the map will be drawn at the largest size that can fit inside the "
1140
  "chart area at its natural aspect ratio. If only one of the width and height "
@@ -1142,25 +1167,25 @@ msgid ""
1142
  "aspect ratio."
1143
  msgstr ""
1144
 
1145
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:352
1146
  msgid ""
1147
  "If no, the map will be stretched to the exact size of the chart as "
1148
  "specified by the width and height options."
1149
  msgstr ""
1150
 
1151
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:357
1152
  #: classes/Visualizer/Render/Sidebar.php:290
1153
  msgid ""
1154
  "Configure the background color for the main area of the chart and the chart "
1155
  "border width and color."
1156
  msgstr ""
1157
 
1158
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:363
1159
  #: classes/Visualizer/Render/Sidebar.php:296
1160
  msgid "The chart border width in pixels."
1161
  msgstr ""
1162
 
1163
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:375
1164
  #: classes/Visualizer/Render/Sidebar.php:309
1165
  msgid "Background Color"
1166
  msgstr ""
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.0.5\n"
6
  "Report-Msgid-Bugs-To: https://github.com/Codeinwp/visualizer/issues\n"
7
+ "POT-Creation-Date: 2017-05-12 11:50:18+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
24
  "X-Poedit-Bookmarks: \n"
25
  "X-Textdomain-Support: yes\n"
26
 
27
+ #: classes/Visualizer/Module/Admin.php:121
28
  msgid "Visualizations"
29
  msgstr ""
30
 
31
+ #: classes/Visualizer/Module/Admin.php:124
32
  msgid "From Library"
33
  msgstr ""
34
 
35
+ #: classes/Visualizer/Module/Admin.php:125
36
  msgid "Create New"
37
  msgstr ""
38
 
39
+ #: classes/Visualizer/Module/Admin.php:150
40
  msgid "Pie"
41
  msgstr ""
42
 
43
+ #: classes/Visualizer/Module/Admin.php:154
44
  msgid "Line"
45
  msgstr ""
46
 
47
+ #: classes/Visualizer/Module/Admin.php:158
48
  msgid "Area"
49
  msgstr ""
50
 
51
+ #: classes/Visualizer/Module/Admin.php:162
52
  msgid "Geo"
53
  msgstr ""
54
 
55
+ #: classes/Visualizer/Module/Admin.php:166
56
  msgid "Bar"
57
  msgstr ""
58
 
59
+ #: classes/Visualizer/Module/Admin.php:170
60
  msgid "Column"
61
  msgstr ""
62
 
63
+ #: classes/Visualizer/Module/Admin.php:174
64
  msgid "Gauge"
65
  msgstr ""
66
 
67
+ #: classes/Visualizer/Module/Admin.php:178
68
  msgid "Scatter"
69
  msgstr ""
70
 
71
+ #: classes/Visualizer/Module/Admin.php:182
72
  msgid "Candlestick"
73
  msgstr ""
74
 
75
+ #: classes/Visualizer/Module/Admin.php:187
76
  msgid "Table"
77
  msgstr ""
78
 
79
+ #: classes/Visualizer/Module/Admin.php:191
80
  msgid "Timeline"
81
  msgstr ""
82
 
83
+ #: classes/Visualizer/Module/Admin.php:195
84
  msgid "Combo"
85
  msgstr ""
86
 
87
+ #: classes/Visualizer/Module/Admin.php:301
88
  #: classes/Visualizer/Render/Library.php:42
89
  msgid "Visualizer Library"
90
  msgstr ""
91
 
92
+ #: classes/Visualizer/Module/Admin.php:428
93
  msgid "Library"
94
  msgstr ""
95
 
96
+ #: classes/Visualizer/Module/Admin.php:453
97
  msgid "Knowledge Base"
98
  msgstr ""
99
 
100
+ #: classes/Visualizer/Module/Admin.php:458
101
  msgid "Pro Addon"
102
  msgstr ""
103
+
 
 
104
  msgid "You have entered invalid URL. Please, insert proper URL."
105
  msgstr ""
106
 
107
+ #: classes/Visualizer/Module/Chart.php:311
108
  msgid "Save Chart"
109
  msgstr ""
110
 
111
+ #: classes/Visualizer/Module/Chart.php:312
112
  msgid "Create Chart"
113
  msgstr ""
114
 
115
+ #: classes/Visualizer/Module/Chart.php:314
116
  msgid "Insert Chart"
117
  msgstr ""
118
 
119
+ #: classes/Visualizer/Module/Chart.php:412
120
  msgid "CSV file with chart data was not uploaded. Please, try again."
121
  msgstr ""
122
 
123
+ #: classes/Visualizer/Module/Chart.php:424
124
  msgid "CSV file is broken or invalid. Please, try again."
125
  msgstr ""
126
 
127
+ #: classes/Visualizer/Module/Sources.php:143
128
+ msgid "Enable this feature in %s version!"
129
  msgstr ""
130
 
131
+ #: classes/Visualizer/Module/Sources.php:144
132
  msgid "Buy now"
133
  msgstr ""
134
 
146
  msgid "Search"
147
  msgstr ""
148
 
149
+ #: classes/Visualizer/Render/Library.php:126
150
  #: classes/Visualizer/Render/Templates.php:85
151
  msgid "No charts found"
152
  msgstr ""
197
  msgid "View more features"
198
  msgstr ""
199
 
200
+ #: classes/Visualizer/Render/Library.php:216
201
  msgid "Enable Tracking"
202
  msgstr ""
203
 
204
+ #: classes/Visualizer/Render/Library.php:217
205
  msgid ""
206
  "Allow Visualizer to anonymously track how this plugin is used and help us "
207
  "make the plugin better. No sensitive data is tracked."
208
  msgstr ""
209
 
210
+ #: classes/Visualizer/Render/Page/Data.php:73
211
  msgid "Chart Data"
212
  msgstr ""
213
 
214
+ #: classes/Visualizer/Render/Page/Data.php:78
215
  msgid "Import data from file"
216
  msgstr ""
217
 
218
+ #: classes/Visualizer/Render/Page/Data.php:80
219
  msgid ""
220
  "Select and upload your data CSV file here. The first row of the CSV file "
221
  "should contain the column headings. The second one should contain series "
222
  "type (string, number, boolean, date, datetime, timeofday)."
223
  msgstr ""
224
 
225
+ #: classes/Visualizer/Render/Page/Data.php:81
226
+ #: classes/Visualizer/Render/Page/Data.php:101
227
  msgid ""
228
  "If you are unsure about how to format your data CSV then please take a look "
229
  "at this sample: %1$s %2$s%3$s"
230
  msgstr ""
231
 
232
+ #: classes/Visualizer/Render/Page/Data.php:89
233
+ #: classes/Visualizer/Render/Page/Data.php:112
234
  msgid "Import"
235
  msgstr ""
236
 
237
+ #: classes/Visualizer/Render/Page/Data.php:94
238
  msgid "Import data from URL"
239
  msgstr ""
240
 
241
+ #: classes/Visualizer/Render/Page/Data.php:97
242
  msgid "One time import"
243
  msgstr ""
244
 
245
+ #: classes/Visualizer/Render/Page/Data.php:100
246
  msgid ""
247
  "You can use this to import data from a remote CSV file. The first row of "
248
  "the CSV file should contain the column headings. The second one should "
249
  "contain series type (string, number, boolean, date, datetime, timeofday)."
250
  msgstr ""
251
 
252
+ #: classes/Visualizer/Render/Page/Data.php:102
253
  msgid ""
254
  "You can also import data from Google Spreadsheet, for more info check <a "
255
  "href=\"https://github.com/Codeinwp/visualizer/wiki/How-can-I-populate-data-"
256
  "from-Google-Spreadsheet%3F\" target=\"_blank\" >this</a> tutorial"
257
  msgstr ""
258
 
259
+ #: classes/Visualizer/Render/Page/Data.php:107
260
+ #: classes/Visualizer/Render/Page/Data.php:129
261
  msgid "Please enter the URL of CSV file"
262
  msgstr ""
263
 
264
+ #: classes/Visualizer/Render/Page/Data.php:117
265
  msgid "Schedule Import"
266
  msgstr ""
267
 
268
+ #: classes/Visualizer/Render/Page/Data.php:121
269
  msgid "You can choose here to synchronize your chart data with a remote CSV file."
270
  msgstr ""
271
 
272
+ #: classes/Visualizer/Render/Page/Data.php:122
273
  msgid ""
274
  "You can also synchronize with your Google Spreadsheet file, for more info "
275
  "check <a "
277
  "from-Google-Spreadsheet%3F\" target=\"_blank\" >this</a> tutorial"
278
  msgstr ""
279
 
280
+ #: classes/Visualizer/Render/Page/Data.php:123
281
  msgid ""
282
  "We will update the chart data based on your time interval preference by "
283
  "overwritting the current data with the one from the URL."
284
  msgstr ""
285
 
286
+ #: classes/Visualizer/Render/Page/Data.php:131
287
  msgid "How often do you want to check the url"
288
  msgstr ""
289
 
290
+ #: classes/Visualizer/Render/Page/Data.php:137
291
  msgid "Each hour"
292
  msgstr ""
293
 
294
+ #: classes/Visualizer/Render/Page/Data.php:138
295
  msgid "Each 12 hours"
296
  msgstr ""
297
 
298
+ #: classes/Visualizer/Render/Page/Data.php:139
299
  msgid "Each day"
300
  msgstr ""
301
 
302
+ #: classes/Visualizer/Render/Page/Data.php:140
303
  msgid "Each 3 days"
304
  msgstr ""
305
 
306
+ #: classes/Visualizer/Render/Page/Data.php:152
307
  msgid "Save schedule"
308
  msgstr ""
309
 
310
+ #: classes/Visualizer/Render/Page/Data.php:162
311
  msgid "Import from other chart"
312
  msgstr ""
313
 
314
+ #: classes/Visualizer/Render/Page/Data.php:166
315
  msgid "You can import here data from your previously created charts"
316
  msgstr ""
317
 
318
+ #: classes/Visualizer/Render/Page/Data.php:193
319
  msgid "Import Chart"
320
  msgstr ""
321
 
322
+ #: classes/Visualizer/Render/Page/Data.php:201
323
+ msgid "Import from Wordpress"
324
  msgstr ""
325
 
326
  #: classes/Visualizer/Render/Page/Data.php:205
327
+ msgid "You can import here data from Wordpress"
328
  msgstr ""
329
 
330
  #: classes/Visualizer/Render/Page/Data.php:207
331
+ #: classes/Visualizer/Render/Page/Data.php:209
332
+ msgid "Create Filters"
333
  msgstr ""
334
 
335
+ #: classes/Visualizer/Render/Page/Data.php:208
336
+ #: classes/Visualizer/Render/Page/Data.php:228
337
  msgid "Show Chart"
338
  msgstr ""
339
 
340
  #: classes/Visualizer/Render/Page/Data.php:217
341
+ msgid "Add data manually"
342
+ msgstr ""
343
+
344
+ #: classes/Visualizer/Render/Page/Data.php:225
345
+ msgid "You can manually edit the chart data using the spreadsheet like editor."
346
+ msgstr ""
347
+
348
+ #: classes/Visualizer/Render/Page/Data.php:227
349
+ #: classes/Visualizer/Render/Page/Data.php:229
350
+ msgid "View Editor"
351
+ msgstr ""
352
+
353
+ #: classes/Visualizer/Render/Page/Data.php:239
354
  msgid "Advanced Settings"
355
  msgstr ""
356
 
357
+ #: classes/Visualizer/Render/Page/Data.php:242
358
  msgid "Chart Settings"
359
  msgstr ""
360
 
361
+ #: classes/Visualizer/Render/Page/Data.php:253
362
  msgid "Rate our plugin"
363
  msgstr ""
364
 
365
+ #: classes/Visualizer/Render/Page/Data.php:272
366
  #: classes/Visualizer/Render/Page/Settings.php:55
367
  msgid "Back"
368
  msgstr ""
574
 
575
  #: classes/Visualizer/Render/Sidebar/Graph.php:222
576
  #: classes/Visualizer/Render/Sidebar/Graph.php:334
577
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:216
578
  msgid "Maximum Value"
579
  msgstr ""
580
 
581
  #: classes/Visualizer/Render/Sidebar/Graph.php:229
582
  #: classes/Visualizer/Render/Sidebar/Graph.php:341
583
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:202
584
  msgid "Minimum Value"
585
  msgstr ""
586
 
803
 
804
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:101
805
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:125
806
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:376
807
  #: classes/Visualizer/Render/Sidebar.php:293
808
  msgid "Stroke Width"
809
  msgstr ""
814
 
815
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:109
816
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:133
817
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:384
818
  #: classes/Visualizer/Render/Sidebar.php:301
819
  msgid "Stroke Color"
820
  msgstr ""
899
  msgstr ""
900
 
901
  #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:229
902
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:340
903
  #: classes/Visualizer/Render/Sidebar.php:266
904
  msgid ""
905
  "Configure the total size of the chart. Two formats are supported: a number, "
908
  msgstr ""
909
 
910
  #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:233
911
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:344
912
  #: classes/Visualizer/Render/Sidebar.php:270
913
  msgid "Width And Height Of Chart"
914
  msgstr ""
915
 
916
  #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:247
917
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:358
918
  #: classes/Visualizer/Render/Sidebar.php:284
919
  msgid "Determines the total width and height of the chart."
920
  msgstr ""
923
  msgid "Map Settings"
924
  msgstr ""
925
 
926
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:58
927
+ msgid "API"
928
+ msgstr ""
929
+
930
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:60
931
+ msgid "Add the Google Maps API key (Click %1$shere%2$s to get the key)"
932
+ msgstr ""
933
+
934
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:64
935
+ msgid "API Key"
936
+ msgstr ""
937
+
938
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:73
939
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:85
940
  msgid "Region"
941
  msgstr ""
942
 
943
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:75
944
  msgid ""
945
  "Configure the region area to display on the map. (Surrounding areas will be "
946
  "displayed as well.) Can be one of the following:"
947
  msgstr ""
948
 
949
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:77
950
  msgid "'world' - A map of the entire world."
951
  msgstr ""
952
 
953
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:78
954
  msgid ""
955
  "A continent or a sub-continent, specified by its %s code, e.g., '011' for "
956
  "Western Africa."
957
  msgstr ""
958
 
959
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:79
960
  msgid "A country, specified by its %s code, e.g., 'AU' for Australia."
961
  msgstr ""
962
 
963
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:80
964
  msgid ""
965
  "A state in the United States, specified by its %s code, e.g., 'US-AL' for "
966
  "Alabama. Note that the resolution option must be set to either 'provinces' "
967
  "or 'metros'."
968
  msgstr ""
969
 
970
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:93
971
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:105
972
  msgid "Resolution"
973
  msgstr ""
974
 
975
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:96
976
  msgid "The resolution of the map borders. Choose one of the following values:"
977
  msgstr ""
978
 
979
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:98
980
  msgid "'countries' - Supported for all regions, except for US state regions."
981
  msgstr ""
982
 
983
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:99
984
  msgid ""
985
  "'provinces' - Supported only for country regions and US state regions. Not "
986
  "supported for all countries; please test a country to see whether this "
987
  "option is supported."
988
  msgstr ""
989
 
990
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:100
991
  msgid "'metros' - Supported for the US country region and US state regions only."
992
  msgstr ""
993
 
994
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:110
995
  msgid "Countries"
996
  msgstr ""
997
 
998
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:111
999
  msgid "Provinces"
1000
  msgstr ""
1001
 
1002
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:112
1003
  msgid "Metros"
1004
  msgstr ""
1005
 
1006
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:118
1007
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:130
1008
  msgid "Display Mode"
1009
  msgstr ""
1010
 
1011
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:121
1012
  msgid "Determines which type of map this is. The following values are supported:"
1013
  msgstr ""
1014
 
1015
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:123
1016
  msgid "'auto' - Choose based on the format of the data."
1017
  msgstr ""
1018
 
1019
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:124
1020
  msgid "'regions' - This is a region map."
1021
  msgstr ""
1022
 
1023
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:125
1024
  msgid "'markers' - This is a marker map."
1025
  msgstr ""
1026
 
1027
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:135
1028
  msgid "Auto"
1029
  msgstr ""
1030
 
1031
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:136
1032
  msgid "Regions"
1033
  msgstr ""
1034
 
1035
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:137
1036
  msgid "Markers"
1037
  msgstr ""
1038
 
1039
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:142
1040
  #: classes/Visualizer/Render/Sidebar.php:220
1041
  msgid "Tooltip"
1042
  msgstr ""
1043
 
1044
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:157
1045
  #: classes/Visualizer/Render/Sidebar.php:235
1046
  msgid "Trigger"
1047
  msgstr ""
1048
 
1049
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:162
1050
  #: classes/Visualizer/Render/Sidebar.php:240
1051
  msgid "The tooltip will be displayed when the user hovers over an element"
1052
  msgstr ""
1053
 
1054
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:163
1055
  #: classes/Visualizer/Render/Sidebar.php:242
1056
  msgid "The tooltip will not be displayed"
1057
  msgstr ""
1058
 
1059
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:165
1060
  #: classes/Visualizer/Render/Sidebar.php:244
1061
  msgid "Determines the user interaction that causes the tooltip to be displayed."
1062
  msgstr ""
1063
 
1064
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:177
1065
  msgid "Color Axis"
1066
  msgstr ""
1067
 
1068
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:179
1069
  msgid ""
1070
  "Configure color axis gradient scale, minimum and maximun values and a color "
1071
  "of the dateless regions."
1072
  msgstr ""
1073
 
1074
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:183
1075
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:247
1076
  msgid "Minimum And Maximum Values"
1077
  msgstr ""
1078
 
1079
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:197
1080
  msgid "Determines the minimum and maximum values of color axis."
1081
  msgstr ""
1082
 
1083
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:209
1084
  msgid "Intermediate Value"
1085
  msgstr ""
1086
 
1087
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:223
1088
  msgid "Dateless Region"
1089
  msgstr ""
1090
 
1091
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:241
1092
  msgid "Size Axis"
1093
  msgstr ""
1094
 
1095
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:243
1096
  msgid ""
1097
  "Configure how values are associated with bubble size, minimum and maximun "
1098
  "values and marker opacity setting."
1099
  msgstr ""
1100
 
1101
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:261
1102
  msgid "Determines the minimum and maximum values of size axis."
1103
  msgstr ""
1104
 
1105
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:267
1106
  msgid "Minimum And Maximum Marker Radius"
1107
  msgstr ""
1108
 
1109
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:281
1110
  msgid ""
1111
  "Determines the radius of the smallest and largest possible bubbles, in "
1112
  "pixels."
1113
  msgstr ""
1114
 
1115
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:286
1116
  msgid "Marker Opacity"
1117
  msgstr ""
1118
 
1119
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:289
1120
  msgid ""
1121
  "The opacity of the markers, where 0.0 is fully transparent and 1.0 is fully "
1122
  "opaque."
1123
  msgstr ""
1124
 
1125
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:307
1126
  msgid "Magnifying Glass"
1127
  msgstr ""
1128
 
1129
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:309
1130
  msgid ""
1131
  "Configure magnifying glass settings, which appears, when the user lingers "
1132
  "over a cluttered marker. Note: this feature is not supported in browsers "
1133
  "that do not support SVG, i.e. Internet Explorer version 8 or earlier."
1134
  msgstr ""
1135
 
1136
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:312
1137
  msgid "Enabled"
1138
  msgstr ""
1139
 
1140
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:316
1141
  msgid ""
1142
  "If yes, when the user lingers over a cluttered marker, a magnifiying glass "
1143
  "will be opened."
1144
  msgstr ""
1145
 
1146
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:320
1147
  msgid "Zoom Factor"
1148
  msgstr ""
1149
 
1150
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:323
1151
  msgid "The zoom factor of the magnifying glass. Can be any number greater than 0."
1152
  msgstr ""
1153
 
1154
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:338
1155
  msgid "Layout Settings"
1156
  msgstr ""
1157
 
1158
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:363
1159
  msgid "Keep Aspect Ratio"
1160
  msgstr ""
1161
 
1162
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:367
1163
  msgid ""
1164
  "If yes, the map will be drawn at the largest size that can fit inside the "
1165
  "chart area at its natural aspect ratio. If only one of the width and height "
1167
  "aspect ratio."
1168
  msgstr ""
1169
 
1170
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:368
1171
  msgid ""
1172
  "If no, the map will be stretched to the exact size of the chart as "
1173
  "specified by the width and height options."
1174
  msgstr ""
1175
 
1176
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:373
1177
  #: classes/Visualizer/Render/Sidebar.php:290
1178
  msgid ""
1179
  "Configure the background color for the main area of the chart and the chart "
1180
  "border width and color."
1181
  msgstr ""
1182
 
1183
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:379
1184
  #: classes/Visualizer/Render/Sidebar.php:296
1185
  msgid "The chart border width in pixels."
1186
  msgstr ""
1187
 
1188
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:391
1189
  #: classes/Visualizer/Render/Sidebar.php:309
1190
  msgid "Background Color"
1191
  msgstr ""
readme.txt CHANGED
@@ -2,7 +2,7 @@
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.7.3
6
  Stable tag: trunk
7
  License: GPL v2.0 or later
8
  License URI: http://www.opensource.org/licenses/gpl-license.php
@@ -21,6 +21,7 @@ The plugin uses Google Visualization API to add responsive & animated charts/dia
21
  > * Easy edit the data using a live editor
22
  > * 3 more chart types ( Combo, Timeline and Table chart )
23
  > * Auto synchronize with your online file.
 
24
  > * Priority email support from the developer of the plugin
25
  > * Support and updates for 1 year
26
  >
@@ -118,6 +119,11 @@ http://docs.themeisle.com/article/610-how-can-i-edit-the-data-manually
118
 
119
  == Changelog ==
120
 
 
 
 
 
 
121
  = 2.0.4 =
122
  * Fixed resize issue in the library page.
123
 
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.7.4
6
  Stable tag: trunk
7
  License: GPL v2.0 or later
8
  License URI: http://www.opensource.org/licenses/gpl-license.php
21
  > * Easy edit the data using a live editor
22
  > * 3 more chart types ( Combo, Timeline and Table chart )
23
  > * Auto synchronize with your online file.
24
+ > * Create charts from your wordpress posts, pages,products or any other post_type.
25
  > * Priority email support from the developer of the plugin
26
  > * Support and updates for 1 year
27
  >
119
 
120
  == Changelog ==
121
 
122
+ = 2.1.0 =
123
+ * Fixed geomap issue with apikey.
124
+ * Fixed responsive issues on tabbed interface and page builders.
125
+ * Added compatibility with premium import from posts/page feature.
126
+
127
  = 2.0.4 =
128
  * Fixed resize issue in the library page.
129
 
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitaf36df56f8128f3cdc5c6762ea207318::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitbcffff6ec0d732b793ac5b61a414557c::getLoader();
vendor/autoload_52.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
- return ComposerAutoloaderInit4e19d59497e1363da95ea1e2f1ad71c1::getLoader();
4
 
5
  require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
6
 
7
+ return ComposerAutoloaderInit21b09bbb4b72b0f87cc03f5ff671df58::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitaf36df56f8128f3cdc5c6762ea207318
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInitaf36df56f8128f3cdc5c6762ea207318
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInitaf36df56f8128f3cdc5c6762ea207318', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInitaf36df56f8128f3cdc5c6762ea207318', 'loadClassLoader'));
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 ComposerAutoloaderInitbcffff6ec0d732b793ac5b61a414557c
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitbcffff6ec0d732b793ac5b61a414557c', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitbcffff6ec0d732b793ac5b61a414557c', '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 ComposerAutoloaderInit4e19d59497e1363da95ea1e2f1ad71c1 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit4e19d59497e1363da95ea1e2f1ad71c1 {
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit4e19d59497e1363da95ea1e2f1ad71c1', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit4e19d59497e1363da95ea1e2f1ad71c1', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);
2
 
3
  // autoload_real_52.php generated by xrstf/composer-php52
4
 
5
+ class ComposerAutoloaderInit21b09bbb4b72b0f87cc03f5ff671df58 {
6
  private static $loader;
7
 
8
  public static function loadClassLoader($class) {
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit21b09bbb4b72b0f87cc03f5ff671df58', 'loadClassLoader'), true /*, true */);
23
  self::$loader = $loader = new xrstf_Composer52_ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit21b09bbb4b72b0f87cc03f5ff671df58', 'loadClassLoader'));
25
 
26
  $vendorDir = dirname(dirname(__FILE__));
27
  $baseDir = dirname($vendorDir);