WordPress Charts and Graphs Lite - Version 1.1.0

Version Description

  • Auto population was added for remote CSV file source.
  • Ability to hook chart series and data was implemented.
  • Ability to upload CSV files from web was implemented.
Download this release

Release Info

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

Code changes from version 1.0.1 to 1.1.0

classes/Visualizer/Module/Admin.php CHANGED
@@ -235,17 +235,17 @@ class Visualizer_Module_Admin extends Visualizer_Module {
235
  );
236
 
237
  // add chart type filter to the query arguments
238
- $type = filter_input( INPUT_GET, 'type' );
239
- if ( $type && in_array( $type, Visualizer_Plugin::getChartTypes() ) ) {
240
  $query_args['meta_query'] = array(
241
  array(
242
  'key' => Visualizer_Plugin::CF_CHART_TYPE,
243
- 'value' => $type,
244
  'compare' => '=',
245
  ),
246
  );
247
  } else {
248
- $type = 'all';
249
  }
250
 
251
  // fetch charts
@@ -254,17 +254,21 @@ class Visualizer_Module_Admin extends Visualizer_Module {
254
  while( $query->have_posts() ) {
255
  $chart = $query->next_post();
256
 
257
- // faetch and update settings
258
  $settings = get_post_meta( $chart->ID, Visualizer_Plugin::CF_SETTINGS, true );
259
  unset( $settings['height'], $settings['width'] );
260
 
 
 
 
 
261
  // add chart to the array
262
  $charts['visualizer-' . $chart->ID] = array(
263
  'id' => $chart->ID,
264
- 'type' => get_post_meta( $chart->ID, Visualizer_Plugin::CF_CHART_TYPE, true ),
265
- 'series' => get_post_meta( $chart->ID, Visualizer_Plugin::CF_SERIES, true ),
266
  'settings' => $settings,
267
- 'data' => unserialize( $chart->post_content ),
268
  );
269
  }
270
 
@@ -283,7 +287,7 @@ class Visualizer_Module_Admin extends Visualizer_Module {
283
  $render = new Visualizer_Render_Library();
284
 
285
  $render->charts = $charts;
286
- $render->type = $type;
287
  $render->types = self::_getChartTypesLocalized();
288
  $render->pagination = paginate_links( array(
289
  'base' => add_query_arg( 'vpage', '%#%' ),
235
  );
236
 
237
  // add chart type filter to the query arguments
238
+ $filter = filter_input( INPUT_GET, 'type' );
239
+ if ( $filter && in_array( $filter, Visualizer_Plugin::getChartTypes() ) ) {
240
  $query_args['meta_query'] = array(
241
  array(
242
  'key' => Visualizer_Plugin::CF_CHART_TYPE,
243
+ 'value' => $filter,
244
  'compare' => '=',
245
  ),
246
  );
247
  } else {
248
+ $filter = 'all';
249
  }
250
 
251
  // fetch charts
254
  while( $query->have_posts() ) {
255
  $chart = $query->next_post();
256
 
257
+ // fetch and update settings
258
  $settings = get_post_meta( $chart->ID, Visualizer_Plugin::CF_SETTINGS, true );
259
  unset( $settings['height'], $settings['width'] );
260
 
261
+ $type = get_post_meta( $chart->ID, Visualizer_Plugin::CF_CHART_TYPE, true );
262
+ $series = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_SERIES, get_post_meta( $chart->ID, Visualizer_Plugin::CF_SERIES, true ), $chart->ID, $type );
263
+ $data = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_DATA, unserialize( $chart->post_content ), $chart->ID, $type );
264
+
265
  // add chart to the array
266
  $charts['visualizer-' . $chart->ID] = array(
267
  'id' => $chart->ID,
268
+ 'type' => $type,
269
+ 'series' => $series,
270
  'settings' => $settings,
271
+ 'data' => $data,
272
  );
273
  }
274
 
287
  $render = new Visualizer_Render_Library();
288
 
289
  $render->charts = $charts;
290
+ $render->type = $filter;
291
  $render->types = self::_getChartTypesLocalized();
292
  $render->pagination = paginate_links( array(
293
  'base' => add_query_arg( 'vpage', '%#%' ),
classes/Visualizer/Module/Chart.php CHANGED
@@ -91,11 +91,15 @@ class Visualizer_Module_Chart extends Visualizer_Module {
91
  $chart = $this->_chart;
92
  }
93
 
 
 
 
 
94
  return array(
95
- 'type' => get_post_meta( $chart->ID, Visualizer_Plugin::CF_CHART_TYPE, true ),
96
- 'series' => get_post_meta( $chart->ID, Visualizer_Plugin::CF_SERIES, true ),
97
  'settings' => get_post_meta( $chart->ID, Visualizer_Plugin::CF_SETTINGS, true ),
98
- 'data' => unserialize( $chart->post_content ),
99
  );
100
  }
101
 
@@ -308,6 +312,10 @@ class Visualizer_Module_Chart extends Visualizer_Module {
308
  wp_enqueue_style( 'visualizer-frame' );
309
  wp_enqueue_script( 'visualizer-render' );
310
  wp_localize_script( 'visualizer-render', 'visualizer', array(
 
 
 
 
311
  'charts' => array(
312
  'canvas' => $data,
313
  ),
@@ -396,11 +404,17 @@ class Visualizer_Module_Chart extends Visualizer_Module {
396
  exit;
397
  }
398
 
 
399
  $render = new Visualizer_Render_Page_Update();
400
- if ( !isset( $_FILES['data'] ) || $_FILES['data']['error'] != 0 ) {
 
 
 
 
401
  $render->message = esc_html__( "CSV file with chart data was not uploaded. Please, try again.", Visualizer_Plugin::NAME );
402
- } else {
403
- $source = new Visualizer_Source_Csv( $_FILES['data']['tmp_name'] );
 
404
  if ( $source->fetch() ) {
405
  $chart->post_content = $source->getData();
406
  wp_update_post( $chart->to_array() );
@@ -409,10 +423,10 @@ class Visualizer_Module_Chart extends Visualizer_Module {
409
  update_post_meta( $chart->ID, Visualizer_Plugin::CF_SOURCE, $source->getSourceName() );
410
  update_post_meta( $chart->ID, Visualizer_Plugin::CF_DEFAULT_DATA, 0 );
411
 
412
- $render->data = json_encode( unserialize( $source->getData() ) );
413
  $render->series = json_encode( $source->getSeries() );
414
  } else {
415
- $render->message = esc_html__( "CSV file is broken or incorrect. Please, try again.", Visualizer_Plugin::NAME );
416
  }
417
  }
418
 
91
  $chart = $this->_chart;
92
  }
93
 
94
+ $type = get_post_meta( $chart->ID, Visualizer_Plugin::CF_CHART_TYPE, true );
95
+ $series = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_SERIES, get_post_meta( $chart->ID, Visualizer_Plugin::CF_SERIES, true ), $chart->ID, $type );
96
+ $data = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_DATA, unserialize( $chart->post_content ), $chart->ID, $type );
97
+
98
  return array(
99
+ 'type' => $type,
100
+ 'series' => $series,
101
  'settings' => get_post_meta( $chart->ID, Visualizer_Plugin::CF_SETTINGS, true ),
102
+ 'data' => $data,
103
  );
104
  }
105
 
312
  wp_enqueue_style( 'visualizer-frame' );
313
  wp_enqueue_script( 'visualizer-render' );
314
  wp_localize_script( 'visualizer-render', 'visualizer', array(
315
+ 'l10n' => array(
316
+ 'remotecsv_prompt' => esc_html__( 'Please, enter the URL of CSV file:', Visualizer_Plugin::NAME ),
317
+ 'invalid_source' => esc_html__( 'You have entered invalid URL. Please, insert proper URL.', Visualizer_Plugin::NAME ),
318
+ ),
319
  'charts' => array(
320
  'canvas' => $data,
321
  ),
404
  exit;
405
  }
406
 
407
+ $source = null;
408
  $render = new Visualizer_Render_Page_Update();
409
+ if ( filter_input( INPUT_POST, 'remote_data', FILTER_VALIDATE_URL ) ) {
410
+ $source = new Visualizer_Source_Csv_Remote( $_POST['remote_data'] );
411
+ } elseif ( isset( $_FILES['local_data'] ) && $_FILES['local_data']['error'] == 0 ) {
412
+ $source = new Visualizer_Source_Csv( $_FILES['local_data']['tmp_name'] );
413
+ } else {
414
  $render->message = esc_html__( "CSV file with chart data was not uploaded. Please, try again.", Visualizer_Plugin::NAME );
415
+ }
416
+
417
+ if ( $source ) {
418
  if ( $source->fetch() ) {
419
  $chart->post_content = $source->getData();
420
  wp_update_post( $chart->to_array() );
423
  update_post_meta( $chart->ID, Visualizer_Plugin::CF_SOURCE, $source->getSourceName() );
424
  update_post_meta( $chart->ID, Visualizer_Plugin::CF_DEFAULT_DATA, 0 );
425
 
426
+ $render->data = json_encode( $source->getRawData() );
427
  $render->series = json_encode( $source->getSeries() );
428
  } else {
429
+ $render->message = esc_html__( "CSV file is broken or invalid. Please, try again.", Visualizer_Plugin::NAME );
430
  }
431
  }
432
 
classes/Visualizer/Module/Frontend.php CHANGED
@@ -79,12 +79,20 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
79
  *
80
  * @since 1.0.0
81
  * @uses shortcode_atts() To parse income shortocdes.
 
 
 
 
82
  *
83
  * @access public
84
  * @param array $atts The array of shortcode attributes.
85
  */
86
  public function renderChart( $atts ) {
87
- $atts = shortcode_atts( array( 'id' => false ), $atts );
 
 
 
 
88
 
89
  // if empty id or chart does not exists, then return empty string
90
  if ( !$atts['id'] || !( $chart = get_post( $atts['id'] ) ) || $chart->post_type != Visualizer_Plugin::CPT_VISUALIZER ) {
@@ -92,6 +100,7 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
92
  }
93
 
94
  $id = 'visualizer-' . $atts['id'];
 
95
 
96
  // faetch and update settings
97
  $settings = get_post_meta( $chart->ID, Visualizer_Plugin::CF_SETTINGS, true );
@@ -99,12 +108,24 @@ class Visualizer_Module_Frontend extends Visualizer_Module {
99
  $settings['height'] = '400';
100
  }
101
 
 
 
 
 
 
 
 
 
 
 
 
 
102
  // add chart to the array
103
  $this->_charts[$id] = array(
104
- 'type' => get_post_meta( $chart->ID, Visualizer_Plugin::CF_CHART_TYPE, true ),
105
- 'series' => get_post_meta( $chart->ID, Visualizer_Plugin::CF_SERIES, true ),
106
  'settings' => $settings,
107
- 'data' => unserialize( $chart->post_content ),
108
  );
109
 
110
  // enqueue visualizer render and update render localizations
79
  *
80
  * @since 1.0.0
81
  * @uses shortcode_atts() To parse income shortocdes.
82
+ * @uses apply_filters() To filter chart's data and series arrays.
83
+ * @uses get_post_meta() To fetch chart's meta information.
84
+ * @uses wp_enqueue_script() To enqueue charts render script.
85
+ * @uses wp_localize_script() To add chart data to the page inline script.
86
  *
87
  * @access public
88
  * @param array $atts The array of shortcode attributes.
89
  */
90
  public function renderChart( $atts ) {
91
+ $atts = shortcode_atts( array(
92
+ 'id' => false, // chart id
93
+ 'series' => false, // series filter hook
94
+ 'data' => false, // data filter hook
95
+ ), $atts );
96
 
97
  // if empty id or chart does not exists, then return empty string
98
  if ( !$atts['id'] || !( $chart = get_post( $atts['id'] ) ) || $chart->post_type != Visualizer_Plugin::CPT_VISUALIZER ) {
100
  }
101
 
102
  $id = 'visualizer-' . $atts['id'];
103
+ $type = get_post_meta( $chart->ID, Visualizer_Plugin::CF_CHART_TYPE, true );
104
 
105
  // faetch and update settings
106
  $settings = get_post_meta( $chart->ID, Visualizer_Plugin::CF_SETTINGS, true );
108
  $settings['height'] = '400';
109
  }
110
 
111
+ // handle series filter hooks
112
+ $series = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_SERIES, get_post_meta( $chart->ID, Visualizer_Plugin::CF_SERIES, true ), $chart->ID, $type );
113
+ if ( !empty( $atts['series'] ) ) {
114
+ $series = apply_filters( $atts['series'], $series, $chart->ID, $type );
115
+ }
116
+
117
+ // handle data filter hooks
118
+ $data = apply_filters( Visualizer_Plugin::FILTER_GET_CHART_DATA, unserialize( $chart->post_content ), $chart->ID, $type );
119
+ if ( !empty( $atts['data'] ) ) {
120
+ $data = apply_filters( $atts['data'], $data, $chart->ID, $type );
121
+ }
122
+
123
  // add chart to the array
124
  $this->_charts[$id] = array(
125
+ 'type' => $type,
126
+ 'series' => $series,
127
  'settings' => $settings,
128
+ 'data' => $data,
129
  );
130
 
131
  // enqueue visualizer render and update render localizations
classes/Visualizer/Module/Sources.php ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // +----------------------------------------------------------------------+
4
+ // | Copyright 2013 Madpixels (email : visualizer@madpixels.net) |
5
+ // +----------------------------------------------------------------------+
6
+ // | This program is free software; you can redistribute it and/or modify |
7
+ // | it under the terms of the GNU General Public License, version 2, as |
8
+ // | published by the Free Software Foundation. |
9
+ // | |
10
+ // | This program is distributed in the hope that it will be useful, |
11
+ // | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12
+ // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13
+ // | GNU General Public License for more details. |
14
+ // | |
15
+ // | You should have received a copy of the GNU General Public License |
16
+ // | along with this program; if not, write to the Free Software |
17
+ // | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
18
+ // | MA 02110-1301 USA |
19
+ // +----------------------------------------------------------------------+
20
+ // | Author: Eugene Manuilov <eugene@manuilov.org> |
21
+ // +----------------------------------------------------------------------+
22
+
23
+ /**
24
+ * Sources module class.
25
+ *
26
+ * @category Visualizer
27
+ * @package Module
28
+ *
29
+ * @since 1.1.0
30
+ */
31
+ class Visualizer_Module_Sources extends Visualizer_Module {
32
+
33
+ const NAME = __CLASS__;
34
+
35
+ /**
36
+ * The array of fetched sources.
37
+ *
38
+ * @since 1.1.0
39
+ *
40
+ * @access private
41
+ * @var array
42
+ */
43
+ private $_sources = array();
44
+
45
+ /**
46
+ * Constructor.
47
+ *
48
+ * @since 1.1.0
49
+ *
50
+ * @access public
51
+ * @param Visualizer_Plugin $plugin The instance of the plugin.
52
+ */
53
+ public function __construct( Visualizer_Plugin $plugin ) {
54
+ parent::__construct( $plugin );
55
+
56
+ $this->_addFilter( Visualizer_Plugin::FILTER_GET_CHART_SERIES, 'filterChartSeries', 1, 2 );
57
+ $this->_addFilter( Visualizer_Plugin::FILTER_GET_CHART_DATA, 'filterChartData', 1, 2 );
58
+ }
59
+
60
+ /**
61
+ * Returns appropriate source object for a chart.
62
+ *
63
+ * @since 1.1.0
64
+ *
65
+ * @access private
66
+ * @param int $chart_id The chart id.
67
+ * @return Visualizer_Source The source object if source exists, otherwise FALSE.
68
+ */
69
+ private function _getSource( $chart_id ) {
70
+ if ( !isset( $this->_sources[$chart_id] ) ) {
71
+ $class = get_post_meta( $chart_id, Visualizer_Plugin::CF_SOURCE, true );
72
+ if ( !class_exists( $class, true ) ) {
73
+ return false;
74
+ }
75
+
76
+ $this->_sources[$chart_id] = new $class();
77
+ }
78
+
79
+ return $this->_sources[$chart_id];
80
+ }
81
+
82
+ /**
83
+ * Filters chart sereis.
84
+ *
85
+ * @since 1.1.0
86
+ *
87
+ * @access public
88
+ * @param array $series The array of chart series.
89
+ * @param int $chart_id The chart id.
90
+ * @return array The array of filtered series.
91
+ */
92
+ public function filterChartSeries( $series, $chart_id ) {
93
+ $source = $this->_getSource( $chart_id );
94
+ if ( !$source ) {
95
+ return $series;
96
+ }
97
+
98
+ return $source->repopulateSeries( $series, $chart_id );
99
+ }
100
+
101
+ /**
102
+ * Filters chart data.
103
+ *
104
+ * @since 1.1.0
105
+ *
106
+ * @access public
107
+ * @param array $data The array of chart data.
108
+ * @param int $chart_id The chart id.
109
+ * @return array The array of filtered data.
110
+ */
111
+ public function filterChartData( $data, $chart_id ) {
112
+ $source = $this->_getSource( $chart_id );
113
+ if ( !$source ) {
114
+ return $data;
115
+ }
116
+
117
+ return $source->repopulateData( $data, $chart_id );
118
+ }
119
+
120
+ }
classes/Visualizer/Plugin.php CHANGED
@@ -30,7 +30,7 @@
30
  class Visualizer_Plugin {
31
 
32
  const NAME = 'visualizer';
33
- const VERSION = '1.0.0';
34
 
35
  // custom post types
36
  const CPT_VISUALIZER = 'visualizer';
@@ -50,6 +50,10 @@ class Visualizer_Plugin {
50
  const ACTION_DELETE_CHART = 'visualizer-delete-chart';
51
  const ACTION_UPLOAD_DATA = 'visualizer-upload-data';
52
 
 
 
 
 
53
  /**
54
  * Singletone instance of the plugin.
55
  *
30
  class Visualizer_Plugin {
31
 
32
  const NAME = 'visualizer';
33
+ const VERSION = '1.1.0';
34
 
35
  // custom post types
36
  const CPT_VISUALIZER = 'visualizer';
50
  const ACTION_DELETE_CHART = 'visualizer-delete-chart';
51
  const ACTION_UPLOAD_DATA = 'visualizer-upload-data';
52
 
53
+ // custom filters
54
+ const FILTER_GET_CHART_SERIES = 'visualizer-get-chart-series';
55
+ const FILTER_GET_CHART_DATA = 'visualizer-get-chart-data';
56
+
57
  /**
58
  * Singletone instance of the plugin.
59
  *
classes/Visualizer/Render/Page/Data.php CHANGED
@@ -59,19 +59,28 @@ class Visualizer_Render_Page_Data extends Visualizer_Render_Page {
59
  ), admin_url( 'admin-ajax.php' ) );
60
 
61
  echo '<li class="group">';
62
- echo '<h3 class="group-title">', esc_html__( 'Upload CSV file', Visualizer_Plugin::NAME ), '</h3>';
63
  echo '<div class="group-content">';
 
 
64
  echo '<p class="group-description">';
65
- esc_html_e( "Select and upload your data CSV file here. The first row of the CSV file should contain the column headings. If you are unsure about how to format your data CSV then please take a look at this sample:", Visualizer_Plugin::NAME );
66
- echo ' <a href="', VISUALIZER_ABSURL, 'samples/', $this->type, '.csv">', $this->type, '.csv</a>';
67
  echo '</p>';
 
 
 
 
 
 
 
68
  echo '<div>';
69
- echo '<iframe id="thehole" name="thehole"></iframe>';
70
  echo '<form id="csv-form" action="', $upload_link, '" method="post" target="thehole" enctype="multipart/form-data">';
 
71
  echo '<div class="button button-primary file-wrapper">';
72
- echo '<input type="file" name="data" id="csv-file" class="file">';
73
- esc_attr_e( 'Upload CSV file', Visualizer_Plugin::NAME );
74
  echo '</div>';
 
75
  echo '</form>';
76
  echo '</div>';
77
  echo '</div>';
59
  ), admin_url( 'admin-ajax.php' ) );
60
 
61
  echo '<li class="group">';
62
+ echo '<h3 class="group-title">', esc_html__( 'Upload CSV File', Visualizer_Plugin::NAME ), '</h3>';
63
  echo '<div class="group-content">';
64
+ echo '<iframe id="thehole" name="thehole"></iframe>';
65
+
66
  echo '<p class="group-description">';
67
+ 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_Plugin::NAME );
 
68
  echo '</p>';
69
+
70
+ echo '<p class="group-description">';
71
+ esc_html_e( 'If you are unsure about how to format your data CSV then please take a look at this sample:', Visualizer_Plugin::NAME );
72
+ echo ' <a href="', VISUALIZER_ABSURL, 'samples/', $this->type, '.csv" target="_blank">', $this->type, '.csv</a> ';
73
+ printf( esc_html__( 'or read how you can add Google spreadsheet in following %sarticle%s.', Visualizer_Plugin::NAME ), '<a href="http://visualizer.madpixels.net/knowledgebase/how-can-i-populate-data-from-google-spreadsheet/" target="_blank">', '</a>' );
74
+ echo '</p>';
75
+
76
  echo '<div>';
 
77
  echo '<form id="csv-form" action="', $upload_link, '" method="post" target="thehole" enctype="multipart/form-data">';
78
+ echo '<input type="hidden" id="remote-data" name="remote_data">';
79
  echo '<div class="button button-primary file-wrapper">';
80
+ echo '<input type="file" id="csv-file" class="file" name="local_data">';
81
+ esc_attr_e( 'From Computer', Visualizer_Plugin::NAME );
82
  echo '</div>';
83
+ echo '<a id="remote-file" class="button" href="javascript:;">', esc_html__( 'From Web', Visualizer_Plugin::NAME ), '</a>';
84
  echo '</form>';
85
  echo '</div>';
86
  echo '</div>';
classes/Visualizer/Source.php CHANGED
@@ -96,6 +96,18 @@ abstract class Visualizer_Source {
96
  return serialize( $this->_data );
97
  }
98
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  /**
100
  * Normalizes values according to series' type.
101
  *
@@ -164,4 +176,32 @@ abstract class Visualizer_Source {
164
  return true;
165
  }
166
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
167
  }
96
  return serialize( $this->_data );
97
  }
98
 
99
+ /**
100
+ * Returns raw data array.
101
+ *
102
+ * @since 1.1.0
103
+ *
104
+ * @access public
105
+ * @return array
106
+ */
107
+ public function getRawData() {
108
+ return $this->_data;
109
+ }
110
+
111
  /**
112
  * Normalizes values according to series' type.
113
  *
176
  return true;
177
  }
178
 
179
+ /**
180
+ * Re populates series if the source is dynamic.
181
+ *
182
+ * @since 1.1.0
183
+ *
184
+ * @access public
185
+ * @param array $series The actual array of series.
186
+ * @param int $chart_id The chart id.
187
+ * @return array The re populated array of series or old one.
188
+ */
189
+ public function repopulateSeries( $series, $chart_id ) {
190
+ return $series;
191
+ }
192
+
193
+ /**
194
+ * Re populates data if the source is dynamic.
195
+ *
196
+ * @since 1.1.0
197
+ *
198
+ * @access public
199
+ * @param array $data The actual array of data.
200
+ * @param int $chart_id The chart id.
201
+ * @return array The re populated array of data or old one.
202
+ */
203
+ public function repopulateData( $data, $chart_id ) {
204
+ return $data;
205
+ }
206
+
207
  }
classes/Visualizer/Source/Csv.php CHANGED
@@ -21,7 +21,7 @@
21
  // +----------------------------------------------------------------------+
22
 
23
  /**
24
- * Source manager for CSV files.
25
  *
26
  * @category Visualizer
27
  * @package Source
@@ -35,10 +35,10 @@ class Visualizer_Source_Csv extends Visualizer_Source {
35
  *
36
  * @since 1.0.0
37
  *
38
- * @access private
39
  * @var string
40
  */
41
- private $_filename;
42
 
43
  /**
44
  * Constructor.
@@ -48,8 +48,8 @@ class Visualizer_Source_Csv extends Visualizer_Source {
48
  * @access public
49
  * @param string $filename The path to the file.
50
  */
51
- public function __construct( $filename ) {
52
- $this->_filename = $filename;
53
  }
54
 
55
  /**
@@ -98,6 +98,11 @@ class Visualizer_Source_Csv extends Visualizer_Source {
98
  * @return boolean TRUE on success, otherwise FALSE.
99
  */
100
  public function fetch() {
 
 
 
 
 
101
  // set line endings auto detect mode
102
  @ini_set( 'auto_detect_line_endings', true );
103
 
21
  // +----------------------------------------------------------------------+
22
 
23
  /**
24
+ * Source manager for local CSV files.
25
  *
26
  * @category Visualizer
27
  * @package Source
35
  *
36
  * @since 1.0.0
37
  *
38
+ * @access protected
39
  * @var string
40
  */
41
+ protected $_filename;
42
 
43
  /**
44
  * Constructor.
48
  * @access public
49
  * @param string $filename The path to the file.
50
  */
51
+ public function __construct( $filename = null ) {
52
+ $this->_filename = trim( $filename );
53
  }
54
 
55
  /**
98
  * @return boolean TRUE on success, otherwise FALSE.
99
  */
100
  public function fetch() {
101
+ // if filename is empty return false
102
+ if ( empty( $this->_filename ) ) {
103
+ return false;
104
+ }
105
+
106
  // set line endings auto detect mode
107
  @ini_set( 'auto_detect_line_endings', true );
108
 
classes/Visualizer/Source/Csv/Remote.php ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ // +----------------------------------------------------------------------+
4
+ // | Copyright 2013 Madpixels (email : visualizer@madpixels.net) |
5
+ // +----------------------------------------------------------------------+
6
+ // | This program is free software; you can redistribute it and/or modify |
7
+ // | it under the terms of the GNU General Public License, version 2, as |
8
+ // | published by the Free Software Foundation. |
9
+ // | |
10
+ // | This program is distributed in the hope that it will be useful, |
11
+ // | but WITHOUT ANY WARRANTY; without even the implied warranty of |
12
+ // | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13
+ // | GNU General Public License for more details. |
14
+ // | |
15
+ // | You should have received a copy of the GNU General Public License |
16
+ // | along with this program; if not, write to the Free Software |
17
+ // | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, |
18
+ // | MA 02110-1301 USA |
19
+ // +----------------------------------------------------------------------+
20
+ // | Author: Eugene Manuilov <eugene@manuilov.org> |
21
+ // +----------------------------------------------------------------------+
22
+
23
+ /**
24
+ * Source manager for remote CSV files.
25
+ *
26
+ * @category Visualizer
27
+ * @package Source
28
+ *
29
+ * @since 1.1.0
30
+ */
31
+ class Visualizer_Source_Csv_Remote extends Visualizer_Source_Csv {
32
+
33
+ /**
34
+ * Returns data parsed from source.
35
+ *
36
+ * @since 1.1.0
37
+ *
38
+ * @access public
39
+ * @return string The serialized array of data.
40
+ */
41
+ public function getData() {
42
+ return serialize( array(
43
+ 'source' => $this->_filename,
44
+ 'data' => $this->_data,
45
+ ) );
46
+ }
47
+
48
+ /**
49
+ * Re populates data and series.
50
+ *
51
+ * @since 1.1.0
52
+ *
53
+ * @access private
54
+ * @param int $chart_id The chart id.
55
+ * @return boolean TRUE on success, otherwise FALSE.
56
+ */
57
+ private function _repopulate( $chart_id ) {
58
+ // if it has been already populated, then just return true
59
+ if ( !empty( $this->_data ) && !empty( $this->_series ) ) {
60
+ return true;
61
+ }
62
+
63
+ // if filename is empty, extract it from chart content
64
+ if ( empty( $this->_filename ) ) {
65
+ $chart = get_post( $chart_id );
66
+ $data = unserialize( $chart->post_content );
67
+ if ( !isset( $data['source'] ) ) {
68
+ return false;
69
+ }
70
+
71
+ $this->_filename = $data['source'];
72
+ }
73
+
74
+ // populate series and data information
75
+ return $this->fetch();
76
+ }
77
+
78
+ /**
79
+ * Re populates data.
80
+ *
81
+ * @since 1.1.0
82
+ *
83
+ * @access public
84
+ * @param array $data The actual array of data.
85
+ * @param int $chart_id The chart id.
86
+ * @return array The re populated array of data or old one.
87
+ */
88
+ public function repopulateData( $data, $chart_id ) {
89
+ return $this->_repopulate( $chart_id ) ? $this->_data : $data;
90
+ }
91
+
92
+ /**
93
+ * Re populates series.
94
+ *
95
+ * @since 1.1.0
96
+ *
97
+ * @access public
98
+ * @param array $series The actual array of series.
99
+ * @param int $chart_id The chart id.
100
+ * @return array The re populated array of series or old one.
101
+ */
102
+ public function repopulateSeries( $series, $chart_id ) {
103
+ return $this->_repopulate( $chart_id ) ? $this->_series : $series;
104
+ }
105
+
106
+ /**
107
+ * Returns source name.
108
+ *
109
+ * @since 1.0.0
110
+ *
111
+ * @access public
112
+ * @return string The name of source.
113
+ */
114
+ public function getSourceName() {
115
+ return __CLASS__;
116
+ }
117
+
118
+ }
css/frame.css CHANGED
@@ -380,6 +380,7 @@ div.group-content .group-description {
380
 
381
  .file-wrapper {
382
  position: relative;
 
383
  }
384
 
385
  .file {
380
 
381
  .file-wrapper {
382
  position: relative;
383
+ margin-right: 10px !important;
384
  }
385
 
386
  .file {
css/library.css CHANGED
@@ -41,14 +41,15 @@
41
  -webkit-box-shadow: 0px 0px 8px #ddd;
42
  box-shadow: 0px 0px 8px #ddd;
43
  background-color: #efefef;
 
44
  }
45
 
46
  .visualizer-chart-canvas {
47
  border: 1px solid #ddd;
48
  background-color: white;
49
  position: relative;
50
- width: 347px;
51
- height: 271px;
52
  }
53
 
54
  .visualizer-nochart-canvas {
41
  -webkit-box-shadow: 0px 0px 8px #ddd;
42
  box-shadow: 0px 0px 8px #ddd;
43
  background-color: #efefef;
44
+ display: none;
45
  }
46
 
47
  .visualizer-chart-canvas {
48
  border: 1px solid #ddd;
49
  background-color: white;
50
  position: relative;
51
+ width: 30%;
52
+ height: 18.75%;
53
  }
54
 
55
  .visualizer-nochart-canvas {
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.0.1
7
  Author: Madpixels
8
  Author URI: http://madpixels.net
9
  License: GPL v2.0 or later
@@ -83,6 +83,7 @@ function visualizer_launch() {
83
 
84
  // set general modules
85
  $plugin->setModule( Visualizer_Module_Setup::NAME );
 
86
 
87
  if ( $doing_ajax ) {
88
  // set ajax modules
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.0
7
  Author: Madpixels
8
  Author URI: http://madpixels.net
9
  License: GPL v2.0 or later
83
 
84
  // set general modules
85
  $plugin->setModule( Visualizer_Module_Setup::NAME );
86
+ $plugin->setModule( Visualizer_Module_Sources::NAME );
87
 
88
  if ( $doing_ajax ) {
89
  // set ajax modules
js/frame.js CHANGED
@@ -16,8 +16,24 @@
16
  }
17
  });
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  $('#csv-file').change(function() {
20
  if ($.trim($(this).val()) != '') {
 
21
  $('#canvas').lock();
22
  $('#csv-form').submit();
23
  }
16
  }
17
  });
18
 
19
+ $('#remote-file').click(function() {
20
+ var url = $.trim(prompt(visualizer.l10n.remotecsv_prompt));
21
+
22
+ if (url != '') {
23
+ if(/^([a-z]([a-z]|\d|\+|-|\.)*):(\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?((\[(|(v[\da-f]{1,}\.(([a-z]|\d|-|\.|_|~)|[!\$&'\(\)\*\+,;=]|:)+))\])|((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=])*)(:\d*)?)(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*|(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)|((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)){0})(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(url)) {
24
+ $('#remote-data').val(url);
25
+ $('#csv-file').val('');
26
+ $('#canvas').lock();
27
+ $('#csv-form').submit();
28
+ } else {
29
+ alert(visualizer.l10n.invalid_source);
30
+ }
31
+ }
32
+ });
33
+
34
  $('#csv-file').change(function() {
35
  if ($.trim($(this).val()) != '') {
36
+ $('#remote-data').val('');
37
  $('#canvas').lock();
38
  $('#csv-form').submit();
39
  }
js/library.js CHANGED
@@ -30,16 +30,20 @@
30
  var resizeTimeout;
31
 
32
  $.fn.adjust = function() {
33
- var width = $('#visualizer-library').width(),
34
- margin = width * 0.02;
 
35
 
36
- width *= 0.305;
37
- $(this).width(width - 14).height(width * 0.75).parent().css('margin-right', margin + 'px').css('margin-bottom', margin + 'px');
 
38
  }
39
 
40
  $('.visualizer-chart-canvas').adjust();
41
 
42
  $(document).ready(function() {
 
 
43
  $('.visualizer-chart-shortcode').click(function(e) {
44
  var range, selection;
45
 
30
  var resizeTimeout;
31
 
32
  $.fn.adjust = function() {
33
+ return $(this).each(function() {
34
+ var width = $('#visualizer-library').width(),
35
+ margin = width * 0.02;
36
 
37
+ width *= 0.305;
38
+ $(this).width(width - 14).height(width * 0.75).parent().css('margin-right', margin + 'px').css('margin-bottom', margin + 'px');
39
+ });
40
  }
41
 
42
  $('.visualizer-chart-canvas').adjust();
43
 
44
  $(document).ready(function() {
45
+ $('.visualizer-chart').fadeIn(500);
46
+
47
  $('.visualizer-chart-shortcode').click(function(e) {
48
  var range, selection;
49
 
languages/visualizer-en_US.mo CHANGED
Binary file
languages/visualizer-en_US.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Visualizer\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-07-20 15:53+0300\n"
6
- "PO-Revision-Date: 2013-07-20 15:53+0300\n"
7
  "Last-Translator: Eugene Manuilov <eugene@manuilov.org>\n"
8
  "Language-Team: Eugene Manuilov <eugene@manuilov.org>\n"
9
  "Language: en_US\n"
@@ -16,41 +16,6 @@ msgstr ""
16
  "X-Generator: Poedit 1.5.4\n"
17
  "X-Poedit-SearchPath-0: classes/Visualizer\n"
18
 
19
- #: classes/Visualizer/Render/Library.php:63
20
- #: classes/Visualizer/Render/Templates.php:69
21
- msgid "Delete"
22
- msgstr "Delete"
23
-
24
- #: classes/Visualizer/Render/Library.php:64
25
- msgid "Clone"
26
- msgstr "Clone"
27
-
28
- #: classes/Visualizer/Render/Library.php:65
29
- msgid "Edit"
30
- msgstr "Edit"
31
-
32
- #: classes/Visualizer/Render/Library.php:67
33
- #: classes/Visualizer/Render/Templates.php:72
34
- msgid "Click to select"
35
- msgstr "Click to select"
36
-
37
- #: classes/Visualizer/Render/Library.php:118
38
- #: classes/Visualizer/Render/Templates.php:86
39
- msgid "No charts found"
40
- msgstr "No charts found"
41
-
42
- #: classes/Visualizer/Render/Library.php:145
43
- msgid "Visualizer Library"
44
- msgstr "Visualizer Library"
45
-
46
- #: classes/Visualizer/Render/Library.php:146
47
- msgid "Add New"
48
- msgstr "Add New"
49
-
50
- #: classes/Visualizer/Render/Templates.php:70
51
- msgid "Insert"
52
- msgstr "Insert"
53
-
54
  #: classes/Visualizer/Render/Sidebar.php:101
55
  msgid "Right of the chart"
56
  msgstr "Right of the chart"
@@ -64,6 +29,7 @@ msgid "Below the chart"
64
  msgstr "Below the chart"
65
 
66
  #: classes/Visualizer/Render/Sidebar.php:104
 
67
  msgid "Inside the chart"
68
  msgstr "Inside the chart"
69
 
@@ -84,10 +50,16 @@ msgid "Aligned to the end of the allocated area"
84
  msgstr "Aligned to the end of the allocated area"
85
 
86
  #: classes/Visualizer/Render/Sidebar.php:117
 
 
 
87
  msgid "Yes"
88
  msgstr "Yes"
89
 
90
  #: classes/Visualizer/Render/Sidebar.php:118
 
 
 
91
  msgid "No"
92
  msgstr "No"
93
 
@@ -100,12 +72,15 @@ msgid "Text to display above the chart."
100
  msgstr "Text to display above the chart."
101
 
102
  #: classes/Visualizer/Render/Sidebar.php:146
 
103
  msgid "General Settings"
104
  msgstr "General Settings"
105
 
106
  #: classes/Visualizer/Render/Sidebar.php:148
107
- msgid "Configure title, font styles and legend positioning settings for the chart."
108
- msgstr "Configure title, font styles and legend positioning settings for the chart."
 
 
109
 
110
  #: classes/Visualizer/Render/Sidebar.php:154
111
  msgid "Font Family And Size"
@@ -136,6 +111,7 @@ msgid "Determines the alignment of the legend."
136
  msgstr "Determines the alignment of the legend."
137
 
138
  #: classes/Visualizer/Render/Sidebar.php:213
 
139
  msgid "Layout & Chart Area"
140
  msgstr "Layout & Chart Area"
141
 
@@ -144,34 +120,59 @@ msgid "Layout"
144
  msgstr "Layout"
145
 
146
  #: classes/Visualizer/Render/Sidebar.php:215
147
- msgid "Configure the total size of the chart. Two formats are supported: a number, or a number followed by %. A simple number is a value in pixels; a number followed by % is a percentage."
148
- msgstr "Configure the total size of the chart. Two formats are supported: a number, or a number followed by %. A simple number is a value in pixels; a number followed by % is a percentage."
 
 
 
 
 
 
 
 
149
 
150
  #: classes/Visualizer/Render/Sidebar.php:219
 
 
151
  msgid "Width And Height Of Chart"
152
  msgstr "Width And Height Of Chart"
153
 
154
  #: classes/Visualizer/Render/Sidebar.php:233
 
 
155
  msgid "Determines the total width and height of the chart."
156
  msgstr "Determines the total width and height of the chart."
157
 
158
  #: classes/Visualizer/Render/Sidebar.php:239
159
- msgid "Configure the background color for the main area of the chart and the chart border width and color."
160
- msgstr "Configure the background color for the main area of the chart and the chart border width and color."
 
 
 
 
 
161
 
162
  #: classes/Visualizer/Render/Sidebar.php:242
 
 
 
163
  msgid "Stroke Width"
164
  msgstr "Stroke Width"
165
 
166
  #: classes/Visualizer/Render/Sidebar.php:245
 
167
  msgid "The chart border width in pixels."
168
  msgstr "The chart border width in pixels."
169
 
170
  #: classes/Visualizer/Render/Sidebar.php:250
 
 
 
171
  msgid "Stroke Color"
172
  msgstr "Stroke Color"
173
 
174
  #: classes/Visualizer/Render/Sidebar.php:257
 
175
  msgid "Background Color"
176
  msgstr "Background Color"
177
 
@@ -180,8 +181,16 @@ msgid "Chart Area"
180
  msgstr "Chart Area"
181
 
182
  #: classes/Visualizer/Render/Sidebar.php:265
183
- msgid "Configure the placement and size of the chart area (where the chart itself is drawn, excluding axis and legends). Two formats are supported: a number, or a number followed by %. A simple number is a value in pixels; a number followed by % is a percentage."
184
- msgstr "Configure the placement and size of the chart area (where the chart itself is drawn, excluding axis and legends). Two formats are supported: a number, or a number followed by %. A simple number is a value in pixels; a number followed by % is a percentage."
 
 
 
 
 
 
 
 
185
 
186
  #: classes/Visualizer/Render/Sidebar.php:269
187
  msgid "Left And Top Margins"
@@ -203,36 +212,41 @@ msgstr "Determines the width and hight of the chart area."
203
  msgid "Hex Value"
204
  msgstr "Hex Value"
205
 
206
- #: classes/Visualizer/Render/Page/Data.php:62
207
- #: classes/Visualizer/Render/Page/Data.php:73
208
- msgid "Upload CSV file"
209
- msgstr "Upload CSV file"
210
 
211
- #: classes/Visualizer/Render/Page/Data.php:65
212
- msgid "Select and upload your data CSV file here. The first row of the CSV file should contain the column headings. If you are unsure about how to format your data CSV then please take a look at this sample:"
213
- msgstr "Select and upload your data CSV file here. The first row of the CSV file should contain the column headings. If you are unsure about how to format your data CSV then please take a look at this sample:"
214
 
215
- #: classes/Visualizer/Render/Page/Data.php:90
216
- #: classes/Visualizer/Render/Page/Settings.php:56
217
- msgid "Back"
218
- msgstr "Back"
219
 
220
- #: classes/Visualizer/Render/Page/Data.php:93
221
- #: classes/Visualizer/Render/Page/Types.php:84
222
- msgid "Next"
223
- msgstr "Next"
224
 
225
- #: classes/Visualizer/Render/Sidebar/Columnar.php:44
226
- msgid "Bars Settings"
227
- msgstr "Bars Settings"
 
228
 
229
- #: classes/Visualizer/Render/Sidebar/Columnar.php:47
230
- msgid "Is Stacked"
231
- msgstr "Is Stacked"
 
232
 
233
- #: classes/Visualizer/Render/Sidebar/Columnar.php:51
234
- msgid "If set to yes, series elements are stacked."
235
- msgstr "If set to yes, series elements are stacked."
 
 
 
 
236
 
237
  #: classes/Visualizer/Render/Sidebar/Linear.php:82
238
  msgid "Straight line without curve"
@@ -248,8 +262,12 @@ msgid "Line Width"
248
  msgstr "Line Width"
249
 
250
  #: classes/Visualizer/Render/Sidebar/Linear.php:99
251
- msgid "Data line width in pixels. Use zero to hide all lines and show only the points."
252
- msgstr "Data line width in pixels. Use zero to hide all lines and show only the points."
 
 
 
 
253
 
254
  #: classes/Visualizer/Render/Sidebar/Linear.php:104
255
  #: classes/Visualizer/Render/Sidebar/Linear.php:181
@@ -271,7 +289,8 @@ msgstr "Curve Type"
271
  #: classes/Visualizer/Render/Sidebar/Graph.php:269
272
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:141
273
  msgid "Determines whether the series has to be presented in the legend or not."
274
- msgstr "Determines whether the series has to be presented in the legend or not."
 
275
 
276
  #: classes/Visualizer/Render/Sidebar/Linear.php:123
277
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:61
@@ -290,8 +309,12 @@ msgstr "Focus on a grouping of all data points along the major axis."
290
 
291
  #: classes/Visualizer/Render/Sidebar/Linear.php:131
292
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:69
293
- msgid "The type of the entity that receives focus on mouse hover. Also affects which entity is selected by mouse click."
294
- msgstr "The type of the entity that receives focus on mouse hover. Also affects which entity is selected by mouse click."
 
 
 
 
295
 
296
  #: classes/Visualizer/Render/Sidebar/Linear.php:144
297
  msgid "Lines Settings"
@@ -317,6 +340,20 @@ msgstr "Overrides the global point size value for this series."
317
  msgid "Color"
318
  msgstr "Color"
319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
320
  #: classes/Visualizer/Render/Sidebar/Graph.php:83
321
  msgid "Outside the chart"
322
  msgstr "Outside the chart"
@@ -390,8 +427,12 @@ msgid "Grid Lines Count"
390
  msgstr "Grid Lines Count"
391
 
392
  #: classes/Visualizer/Render/Sidebar/Graph.php:161
393
- msgid "The number of horizontal gridlines inside the chart area. Minimum value is 2. Specify -1 to automatically compute the number of gridlines."
394
- msgstr "The number of horizontal gridlines inside the chart area. Minimum value is 2. Specify -1 to automatically compute the number of gridlines."
 
 
 
 
395
 
396
  #: classes/Visualizer/Render/Sidebar/Graph.php:166
397
  #: classes/Visualizer/Render/Sidebar/Graph.php:215
@@ -420,179 +461,17 @@ msgid "The direction in which the values along the vertical axis grow."
420
  msgstr "The direction in which the values along the vertical axis grow."
421
 
422
  #: classes/Visualizer/Render/Sidebar/Graph.php:210
423
- msgid "The number of vertical gridlines inside the chart area. Minimum value is 2. Specify -1 to automatically compute the number of gridlines."
424
- msgstr "The number of vertical gridlines inside the chart area. Minimum value is 2. Specify -1 to automatically compute the number of gridlines."
 
 
 
 
425
 
426
  #: classes/Visualizer/Render/Sidebar/Graph.php:240
427
  msgid "Series Settings"
428
  msgstr "Series Settings"
429
 
430
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:58
431
- msgid "Pie Settings"
432
- msgstr "Pie Settings"
433
-
434
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:61
435
- msgid "Is 3D"
436
- msgstr "Is 3D"
437
-
438
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:65
439
- msgid "If set to yes, displays a three-dimensional chart."
440
- msgstr "If set to yes, displays a three-dimensional chart."
441
-
442
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:69
443
- msgid "Reverse Categories"
444
- msgstr "Reverse Categories"
445
-
446
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:73
447
- msgid "If set to yes, will draw slices counterclockwise."
448
- msgstr "If set to yes, will draw slices counterclockwise."
449
-
450
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:77
451
- msgid "Slice Text"
452
- msgstr "Slice Text"
453
-
454
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:82
455
- msgid "The percentage of the slice size out of the total"
456
- msgstr "The percentage of the slice size out of the total"
457
-
458
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:83
459
- msgid "The quantitative value of the slice"
460
- msgstr "The quantitative value of the slice"
461
-
462
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:84
463
- msgid "The name of the slice"
464
- msgstr "The name of the slice"
465
-
466
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:85
467
- msgid "No text is displayed"
468
- msgstr "No text is displayed"
469
-
470
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:87
471
- msgid "The content of the text displayed on the slice."
472
- msgstr "The content of the text displayed on the slice."
473
-
474
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:91
475
- msgid "Slice Border Color"
476
- msgstr "Slice Border Color"
477
-
478
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:108
479
- msgid "Residue Settings"
480
- msgstr "Residue Settings"
481
-
482
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:111
483
- msgid "Visibility Threshold"
484
- msgstr "Visibility Threshold"
485
-
486
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:114
487
- msgid "The slice relative part, below which a slice will not show individually. All slices that have not passed this threshold will be combined to a single slice, whose size is the sum of all their sizes. Default is not to show individually any slice which is smaller than half a degree."
488
- msgstr "The slice relative part, below which a slice will not show individually. All slices that have not passed this threshold will be combined to a single slice, whose size is the sum of all their sizes. Default is not to show individually any slice which is smaller than half a degree."
489
-
490
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:119
491
- msgid "Residue Slice Label"
492
- msgstr "Residue Slice Label"
493
-
494
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:122
495
- msgid "A label for the combination slice that holds all slices below slice visibility threshold."
496
- msgstr "A label for the combination slice that holds all slices below slice visibility threshold."
497
-
498
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:123
499
- msgid "Other"
500
- msgstr "Other"
501
-
502
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:127
503
- msgid "Residue Slice Color"
504
- msgstr "Residue Slice Color"
505
-
506
- #: classes/Visualizer/Render/Sidebar/Type/Pie.php:144
507
- msgid "Slices Colors"
508
- msgstr "Slices Colors"
509
-
510
- #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:58
511
- msgid "Candles Settings"
512
- msgstr "Candles Settings"
513
-
514
- #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:73
515
- msgid "Failing Candles"
516
- msgstr "Failing Candles"
517
-
518
- #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:78
519
- msgid "The stroke width of falling candles."
520
- msgstr "The stroke width of falling candles."
521
-
522
- #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:90
523
- #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:114
524
- msgid "Fill Color"
525
- msgstr "Fill Color"
526
-
527
- #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:97
528
- msgid "Rising Candles"
529
- msgstr "Rising Candles"
530
-
531
- #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:102
532
- msgid "The stroke width of rising candles."
533
- msgstr "The stroke width of rising candles."
534
-
535
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:63
536
- msgid "Min And Max Values"
537
- msgstr "Min And Max Values"
538
-
539
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:77
540
- msgid "The maximal and minimal values of the gauge."
541
- msgstr "The maximal and minimal values of the gauge."
542
-
543
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:82
544
- msgid "Minor Ticks"
545
- msgstr "Minor Ticks"
546
-
547
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:85
548
- msgid "The number of minor tick section in each major tick section."
549
- msgstr "The number of minor tick section in each major tick section."
550
-
551
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:101
552
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:126
553
- msgid "Green Color"
554
- msgstr "Green Color"
555
-
556
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:103
557
- msgid "Configure the green section of the gauge chart."
558
- msgstr "Configure the green section of the gauge chart."
559
-
560
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:107
561
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:149
562
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:191
563
- msgid "From And To Range"
564
- msgstr "From And To Range"
565
-
566
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:121
567
- msgid "The lowest and highest values for a range marked by a green color."
568
- msgstr "The lowest and highest values for a range marked by a green color."
569
-
570
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:143
571
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:168
572
- msgid "Yellow Color"
573
- msgstr "Yellow Color"
574
-
575
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:145
576
- msgid "Configure the yellow section of the gauge chart."
577
- msgstr "Configure the yellow section of the gauge chart."
578
-
579
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:163
580
- msgid "The lowest and highest values for a range marked by a yellow color."
581
- msgstr "The lowest and highest values for a range marked by a yellow color."
582
-
583
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:185
584
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:210
585
- msgid "Red Color"
586
- msgstr "Red Color"
587
-
588
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:187
589
- msgid "Configure the red section of the gauge chart."
590
- msgstr "Configure the red section of the gauge chart."
591
-
592
- #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:205
593
- msgid "The lowest and highest values for a range marked by a red color."
594
- msgstr "The lowest and highest values for a range marked by a red color."
595
-
596
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:58
597
  msgid "Map Settings"
598
  msgstr "Map Settings"
@@ -603,8 +482,12 @@ msgid "Region"
603
  msgstr "Region"
604
 
605
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:61
606
- msgid "Configure the region area to display on the map. (Surrounding areas will be displayed as well.) Can be one of the following:"
607
- msgstr "Configure the region area to display on the map. (Surrounding areas will be displayed as well.) Can be one of the following:"
 
 
 
 
608
 
609
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:63
610
  msgid "'world' - A map of the entire world."
@@ -612,8 +495,12 @@ msgstr "'world' - A map of the entire world."
612
 
613
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:64
614
  #, php-format
615
- msgid "A continent or a sub-continent, specified by its %s code, e.g., '011' for Western Africa."
616
- msgstr "A continent or a sub-continent, specified by its %s code, e.g., '011' for Western Africa."
 
 
 
 
617
 
618
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:65
619
  #, php-format
@@ -622,8 +509,14 @@ msgstr "A country, specified by its %s code, e.g., 'AU' for Australia."
622
 
623
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:66
624
  #, php-format
625
- msgid "A state in the United States, specified by its %s code, e.g., 'US-AL' for Alabama. Note that the resolution option must be set to either 'provinces' or 'metros'."
626
- msgstr "A state in the United States, specified by its %s code, e.g., 'US-AL' for Alabama. Note that the resolution option must be set to either 'provinces' or 'metros'."
 
 
 
 
 
 
627
 
628
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:79
629
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:91
@@ -639,12 +532,20 @@ msgid "'countries' - Supported for all regions, except for US state regions."
639
  msgstr "'countries' - Supported for all regions, except for US state regions."
640
 
641
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:85
642
- msgid "'provinces' - Supported only for country regions and US state regions. Not supported for all countries; please test a country to see whether this option is supported."
643
- msgstr "'provinces' - Supported only for country regions and US state regions. Not supported for all countries; please test a country to see whether this option is supported."
 
 
 
 
 
 
644
 
645
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:86
646
- msgid "'metros' - Supported for the US country region and US state regions only."
647
- msgstr "'metros' - Supported for the US country region and US state regions only."
 
 
648
 
649
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:96
650
  msgid "Countries"
@@ -664,8 +565,10 @@ msgid "Display Mode"
664
  msgstr "Display Mode"
665
 
666
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:107
667
- msgid "Determines which type of map this is. The following values are supported:"
668
- msgstr "Determines which type of map this is. The following values are supported:"
 
 
669
 
670
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:109
671
  msgid "'auto' - Choose based on the format of the data."
@@ -696,8 +599,12 @@ msgid "Color Axis"
696
  msgstr "Color Axis"
697
 
698
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:141
699
- msgid "Configure color axis gradient scale, minimum and maximun values and a color of the dateless regions."
700
- msgstr "Configure color axis gradient scale, minimum and maximun values and a color of the dateless regions."
 
 
 
 
701
 
702
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:145
703
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:209
@@ -729,8 +636,12 @@ msgid "Size Axis"
729
  msgstr "Size Axis"
730
 
731
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:205
732
- msgid "Configure how values are associated with bubble size, minimum and maximun values and marker opacity setting."
733
- msgstr "Configure how values are associated with bubble size, minimum and maximun values and marker opacity setting."
 
 
 
 
734
 
735
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:223
736
  msgid "Determines the minimum and maximum values of size axis."
@@ -741,40 +652,60 @@ msgid "Minimum And Maximum Marker Radius"
741
  msgstr "Minimum And Maximum Marker Radius"
742
 
743
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:243
744
- msgid "Determines the radius of the smallest and largest possible bubbles, in pixels."
745
- msgstr "Determines the radius of the smallest and largest possible bubbles, in pixels."
 
 
 
 
746
 
747
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:248
748
  msgid "Marker Opacity"
749
  msgstr "Marker Opacity"
750
 
751
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:251
752
- msgid "The opacity of the markers, where 0.0 is fully transparent and 1.0 is fully opaque."
753
- msgstr "The opacity of the markers, where 0.0 is fully transparent and 1.0 is fully opaque."
 
 
 
 
754
 
755
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:267
756
  msgid "Magnifying Glass"
757
  msgstr "Magnifying Glass"
758
 
759
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:269
760
- msgid "Configure magnifying glass settings, which appears, when the user lingers over a cluttered marker. Note: this feature is not supported in browsers that do not support SVG, i.e. Internet Explorer version 8 or earlier."
761
- msgstr "Configure magnifying glass settings, which appears, when the user lingers over a cluttered marker. Note: this feature is not supported in browsers that do not support SVG, i.e. Internet Explorer version 8 or earlier."
 
 
 
 
 
 
762
 
763
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:272
764
  msgid "Enabled"
765
  msgstr "Enabled"
766
 
767
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:276
768
- msgid "If yes, when the user lingers over a cluttered marker, a magnifiying glass will be opened."
769
- msgstr "If yes, when the user lingers over a cluttered marker, a magnifiying glass will be opened."
 
 
 
 
770
 
771
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:280
772
  msgid "Zoom Factor"
773
  msgstr "Zoom Factor"
774
 
775
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:283
776
- msgid "The zoom factor of the magnifying glass. Can be any number greater than 0."
777
- msgstr "The zoom factor of the magnifying glass. Can be any number greater than 0."
 
 
778
 
779
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:298
780
  msgid "Layout Settings"
@@ -785,12 +716,247 @@ msgid "Keep Aspect Ratio"
785
  msgstr "Keep Aspect Ratio"
786
 
787
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:327
788
- msgid "If yes, the map will be drawn at the largest size that can fit inside the chart area at its natural aspect ratio. If only one of the width and height options is specified, the other one will be calculated according to the aspect ratio."
789
- msgstr "If yes, the map will be drawn at the largest size that can fit inside the chart area at its natural aspect ratio. If only one of the width and height options is specified, the other one will be calculated according to the aspect ratio."
 
 
 
 
 
 
 
 
790
 
791
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:328
792
- msgid "If no, the map will be stretched to the exact size of the chart as specified by the width and height options."
793
- msgstr "If no, the map will be stretched to the exact size of the chart as specified by the width and height options."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
794
 
795
  #: classes/Visualizer/Module/Admin.php:78
796
  msgid "All"
@@ -844,35 +1010,42 @@ msgstr "From Library"
844
  msgid "Create New"
845
  msgstr "Create New"
846
 
847
- #: classes/Visualizer/Module/Admin.php:316
848
  msgid "Library"
849
  msgstr "Library"
850
 
851
- #: classes/Visualizer/Module/Admin.php:338
852
  msgid "Knowledge Base"
853
  msgstr "Knowledge Base"
854
 
855
- #: classes/Visualizer/Module/Admin.php:343
856
  msgid "Community"
857
  msgstr "Community"
858
 
859
- #: classes/Visualizer/Module/Chart.php:369
 
 
 
 
 
 
 
 
860
  msgid "Save Chart"
861
  msgstr "Save Chart"
862
 
863
- #: classes/Visualizer/Module/Chart.php:370
864
  msgid "Create Chart"
865
  msgstr "Create Chart"
866
 
867
- #: classes/Visualizer/Module/Chart.php:372
868
  msgid "Insert Chart"
869
  msgstr "Insert Chart"
870
 
871
- #: classes/Visualizer/Module/Chart.php:401
872
  msgid "CSV file with chart data was not uploaded. Please, try again."
873
  msgstr "CSV file with chart data was not uploaded. Please, try again."
874
 
875
- #: classes/Visualizer/Module/Chart.php:415
876
- msgid "CSV file is broken or incorrect. Please, try again."
877
- msgstr "CSV file is broken or incorrect. Please, try again."
878
-
2
  msgstr ""
3
  "Project-Id-Version: Visualizer\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-07-26 12:56+0300\n"
6
+ "PO-Revision-Date: 2013-07-26 12:56+0300\n"
7
  "Last-Translator: Eugene Manuilov <eugene@manuilov.org>\n"
8
  "Language-Team: Eugene Manuilov <eugene@manuilov.org>\n"
9
  "Language: en_US\n"
16
  "X-Generator: Poedit 1.5.4\n"
17
  "X-Poedit-SearchPath-0: classes/Visualizer\n"
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  #: classes/Visualizer/Render/Sidebar.php:101
20
  msgid "Right of the chart"
21
  msgstr "Right of the chart"
29
  msgstr "Below the chart"
30
 
31
  #: classes/Visualizer/Render/Sidebar.php:104
32
+ #: classes/Visualizer/Render/Sidebar/Graph.php:82
33
  msgid "Inside the chart"
34
  msgstr "Inside the chart"
35
 
50
  msgstr "Aligned to the end of the allocated area"
51
 
52
  #: classes/Visualizer/Render/Sidebar.php:117
53
+ #: classes/Visualizer/Render/Sidebar/Linear.php:167
54
+ #: classes/Visualizer/Render/Sidebar/Graph.php:267
55
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:139
56
  msgid "Yes"
57
  msgstr "Yes"
58
 
59
  #: classes/Visualizer/Render/Sidebar.php:118
60
+ #: classes/Visualizer/Render/Sidebar/Linear.php:166
61
+ #: classes/Visualizer/Render/Sidebar/Graph.php:266
62
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:138
63
  msgid "No"
64
  msgstr "No"
65
 
72
  msgstr "Text to display above the chart."
73
 
74
  #: classes/Visualizer/Render/Sidebar.php:146
75
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:58
76
  msgid "General Settings"
77
  msgstr "General Settings"
78
 
79
  #: classes/Visualizer/Render/Sidebar.php:148
80
+ msgid ""
81
+ "Configure title, font styles and legend positioning settings for the chart."
82
+ msgstr ""
83
+ "Configure title, font styles and legend positioning settings for the chart."
84
 
85
  #: classes/Visualizer/Render/Sidebar.php:154
86
  msgid "Font Family And Size"
111
  msgstr "Determines the alignment of the legend."
112
 
113
  #: classes/Visualizer/Render/Sidebar.php:213
114
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:227
115
  msgid "Layout & Chart Area"
116
  msgstr "Layout & Chart Area"
117
 
120
  msgstr "Layout"
121
 
122
  #: classes/Visualizer/Render/Sidebar.php:215
123
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:300
124
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:229
125
+ msgid ""
126
+ "Configure the total size of the chart. Two formats are supported: a number, "
127
+ "or a number followed by %. A simple number is a value in pixels; a number "
128
+ "followed by % is a percentage."
129
+ msgstr ""
130
+ "Configure the total size of the chart. Two formats are supported: a number, "
131
+ "or a number followed by %. A simple number is a value in pixels; a number "
132
+ "followed by % is a percentage."
133
 
134
  #: classes/Visualizer/Render/Sidebar.php:219
135
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:304
136
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:233
137
  msgid "Width And Height Of Chart"
138
  msgstr "Width And Height Of Chart"
139
 
140
  #: classes/Visualizer/Render/Sidebar.php:233
141
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:318
142
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:247
143
  msgid "Determines the total width and height of the chart."
144
  msgstr "Determines the total width and height of the chart."
145
 
146
  #: classes/Visualizer/Render/Sidebar.php:239
147
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:333
148
+ msgid ""
149
+ "Configure the background color for the main area of the chart and the chart "
150
+ "border width and color."
151
+ msgstr ""
152
+ "Configure the background color for the main area of the chart and the chart "
153
+ "border width and color."
154
 
155
  #: classes/Visualizer/Render/Sidebar.php:242
156
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:336
157
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:75
158
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:99
159
  msgid "Stroke Width"
160
  msgstr "Stroke Width"
161
 
162
  #: classes/Visualizer/Render/Sidebar.php:245
163
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:339
164
  msgid "The chart border width in pixels."
165
  msgstr "The chart border width in pixels."
166
 
167
  #: classes/Visualizer/Render/Sidebar.php:250
168
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:344
169
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:83
170
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:107
171
  msgid "Stroke Color"
172
  msgstr "Stroke Color"
173
 
174
  #: classes/Visualizer/Render/Sidebar.php:257
175
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:351
176
  msgid "Background Color"
177
  msgstr "Background Color"
178
 
181
  msgstr "Chart Area"
182
 
183
  #: classes/Visualizer/Render/Sidebar.php:265
184
+ msgid ""
185
+ "Configure the placement and size of the chart area (where the chart itself "
186
+ "is drawn, excluding axis and legends). Two formats are supported: a number, "
187
+ "or a number followed by %. A simple number is a value in pixels; a number "
188
+ "followed by % is a percentage."
189
+ msgstr ""
190
+ "Configure the placement and size of the chart area (where the chart itself "
191
+ "is drawn, excluding axis and legends). Two formats are supported: a number, "
192
+ "or a number followed by %. A simple number is a value in pixels; a number "
193
+ "followed by % is a percentage."
194
 
195
  #: classes/Visualizer/Render/Sidebar.php:269
196
  msgid "Left And Top Margins"
212
  msgid "Hex Value"
213
  msgstr "Hex Value"
214
 
215
+ #: classes/Visualizer/Render/Library.php:63
216
+ #: classes/Visualizer/Render/Templates.php:69
217
+ msgid "Delete"
218
+ msgstr "Delete"
219
 
220
+ #: classes/Visualizer/Render/Library.php:64
221
+ msgid "Clone"
222
+ msgstr "Clone"
223
 
224
+ #: classes/Visualizer/Render/Library.php:65
225
+ msgid "Edit"
226
+ msgstr "Edit"
 
227
 
228
+ #: classes/Visualizer/Render/Library.php:67
229
+ #: classes/Visualizer/Render/Templates.php:72
230
+ msgid "Click to select"
231
+ msgstr "Click to select"
232
 
233
+ #: classes/Visualizer/Render/Library.php:118
234
+ #: classes/Visualizer/Render/Templates.php:86
235
+ msgid "No charts found"
236
+ msgstr "No charts found"
237
 
238
+ #: classes/Visualizer/Render/Library.php:145
239
+ #: classes/Visualizer/Module/Admin.php:209
240
+ msgid "Visualizer Library"
241
+ msgstr "Visualizer Library"
242
 
243
+ #: classes/Visualizer/Render/Library.php:146
244
+ msgid "Add New"
245
+ msgstr "Add New"
246
+
247
+ #: classes/Visualizer/Render/Templates.php:70
248
+ msgid "Insert"
249
+ msgstr "Insert"
250
 
251
  #: classes/Visualizer/Render/Sidebar/Linear.php:82
252
  msgid "Straight line without curve"
262
  msgstr "Line Width"
263
 
264
  #: classes/Visualizer/Render/Sidebar/Linear.php:99
265
+ msgid ""
266
+ "Data line width in pixels. Use zero to hide all lines and show only the "
267
+ "points."
268
+ msgstr ""
269
+ "Data line width in pixels. Use zero to hide all lines and show only the "
270
+ "points."
271
 
272
  #: classes/Visualizer/Render/Sidebar/Linear.php:104
273
  #: classes/Visualizer/Render/Sidebar/Linear.php:181
289
  #: classes/Visualizer/Render/Sidebar/Graph.php:269
290
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:141
291
  msgid "Determines whether the series has to be presented in the legend or not."
292
+ msgstr ""
293
+ "Determines whether the series has to be presented in the legend or not."
294
 
295
  #: classes/Visualizer/Render/Sidebar/Linear.php:123
296
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:61
309
 
310
  #: classes/Visualizer/Render/Sidebar/Linear.php:131
311
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:69
312
+ msgid ""
313
+ "The type of the entity that receives focus on mouse hover. Also affects "
314
+ "which entity is selected by mouse click."
315
+ msgstr ""
316
+ "The type of the entity that receives focus on mouse hover. Also affects "
317
+ "which entity is selected by mouse click."
318
 
319
  #: classes/Visualizer/Render/Sidebar/Linear.php:144
320
  msgid "Lines Settings"
340
  msgid "Color"
341
  msgstr "Color"
342
 
343
+ #: classes/Visualizer/Render/Sidebar/Columnar.php:44
344
+ msgid "Bars Settings"
345
+ msgstr "Bars Settings"
346
+
347
+ #: classes/Visualizer/Render/Sidebar/Columnar.php:47
348
+ #: classes/Visualizer/Render/Sidebar/Type/Area.php:74
349
+ msgid "Is Stacked"
350
+ msgstr "Is Stacked"
351
+
352
+ #: classes/Visualizer/Render/Sidebar/Columnar.php:51
353
+ #: classes/Visualizer/Render/Sidebar/Type/Area.php:78
354
+ msgid "If set to yes, series elements are stacked."
355
+ msgstr "If set to yes, series elements are stacked."
356
+
357
  #: classes/Visualizer/Render/Sidebar/Graph.php:83
358
  msgid "Outside the chart"
359
  msgstr "Outside the chart"
427
  msgstr "Grid Lines Count"
428
 
429
  #: classes/Visualizer/Render/Sidebar/Graph.php:161
430
+ msgid ""
431
+ "The number of horizontal gridlines inside the chart area. Minimum value is "
432
+ "2. Specify -1 to automatically compute the number of gridlines."
433
+ msgstr ""
434
+ "The number of horizontal gridlines inside the chart area. Minimum value is "
435
+ "2. Specify -1 to automatically compute the number of gridlines."
436
 
437
  #: classes/Visualizer/Render/Sidebar/Graph.php:166
438
  #: classes/Visualizer/Render/Sidebar/Graph.php:215
461
  msgstr "The direction in which the values along the vertical axis grow."
462
 
463
  #: classes/Visualizer/Render/Sidebar/Graph.php:210
464
+ msgid ""
465
+ "The number of vertical gridlines inside the chart area. Minimum value is 2. "
466
+ "Specify -1 to automatically compute the number of gridlines."
467
+ msgstr ""
468
+ "The number of vertical gridlines inside the chart area. Minimum value is 2. "
469
+ "Specify -1 to automatically compute the number of gridlines."
470
 
471
  #: classes/Visualizer/Render/Sidebar/Graph.php:240
472
  msgid "Series Settings"
473
  msgstr "Series Settings"
474
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
475
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:58
476
  msgid "Map Settings"
477
  msgstr "Map Settings"
482
  msgstr "Region"
483
 
484
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:61
485
+ msgid ""
486
+ "Configure the region area to display on the map. (Surrounding areas will be "
487
+ "displayed as well.) Can be one of the following:"
488
+ msgstr ""
489
+ "Configure the region area to display on the map. (Surrounding areas will be "
490
+ "displayed as well.) Can be one of the following:"
491
 
492
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:63
493
  msgid "'world' - A map of the entire world."
495
 
496
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:64
497
  #, php-format
498
+ msgid ""
499
+ "A continent or a sub-continent, specified by its %s code, e.g., '011' for "
500
+ "Western Africa."
501
+ msgstr ""
502
+ "A continent or a sub-continent, specified by its %s code, e.g., '011' for "
503
+ "Western Africa."
504
 
505
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:65
506
  #, php-format
509
 
510
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:66
511
  #, php-format
512
+ msgid ""
513
+ "A state in the United States, specified by its %s code, e.g., 'US-AL' for "
514
+ "Alabama. Note that the resolution option must be set to either 'provinces' "
515
+ "or 'metros'."
516
+ msgstr ""
517
+ "A state in the United States, specified by its %s code, e.g., 'US-AL' for "
518
+ "Alabama. Note that the resolution option must be set to either 'provinces' "
519
+ "or 'metros'."
520
 
521
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:79
522
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:91
532
  msgstr "'countries' - Supported for all regions, except for US state regions."
533
 
534
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:85
535
+ msgid ""
536
+ "'provinces' - Supported only for country regions and US state regions. Not "
537
+ "supported for all countries; please test a country to see whether this "
538
+ "option is supported."
539
+ msgstr ""
540
+ "'provinces' - Supported only for country regions and US state regions. Not "
541
+ "supported for all countries; please test a country to see whether this "
542
+ "option is supported."
543
 
544
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:86
545
+ msgid ""
546
+ "'metros' - Supported for the US country region and US state regions only."
547
+ msgstr ""
548
+ "'metros' - Supported for the US country region and US state regions only."
549
 
550
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:96
551
  msgid "Countries"
565
  msgstr "Display Mode"
566
 
567
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:107
568
+ msgid ""
569
+ "Determines which type of map this is. The following values are supported:"
570
+ msgstr ""
571
+ "Determines which type of map this is. The following values are supported:"
572
 
573
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:109
574
  msgid "'auto' - Choose based on the format of the data."
599
  msgstr "Color Axis"
600
 
601
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:141
602
+ msgid ""
603
+ "Configure color axis gradient scale, minimum and maximun values and a color "
604
+ "of the dateless regions."
605
+ msgstr ""
606
+ "Configure color axis gradient scale, minimum and maximun values and a color "
607
+ "of the dateless regions."
608
 
609
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:145
610
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:209
636
  msgstr "Size Axis"
637
 
638
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:205
639
+ msgid ""
640
+ "Configure how values are associated with bubble size, minimum and maximun "
641
+ "values and marker opacity setting."
642
+ msgstr ""
643
+ "Configure how values are associated with bubble size, minimum and maximun "
644
+ "values and marker opacity setting."
645
 
646
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:223
647
  msgid "Determines the minimum and maximum values of size axis."
652
  msgstr "Minimum And Maximum Marker Radius"
653
 
654
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:243
655
+ msgid ""
656
+ "Determines the radius of the smallest and largest possible bubbles, in "
657
+ "pixels."
658
+ msgstr ""
659
+ "Determines the radius of the smallest and largest possible bubbles, in "
660
+ "pixels."
661
 
662
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:248
663
  msgid "Marker Opacity"
664
  msgstr "Marker Opacity"
665
 
666
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:251
667
+ msgid ""
668
+ "The opacity of the markers, where 0.0 is fully transparent and 1.0 is fully "
669
+ "opaque."
670
+ msgstr ""
671
+ "The opacity of the markers, where 0.0 is fully transparent and 1.0 is fully "
672
+ "opaque."
673
 
674
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:267
675
  msgid "Magnifying Glass"
676
  msgstr "Magnifying Glass"
677
 
678
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:269
679
+ msgid ""
680
+ "Configure magnifying glass settings, which appears, when the user lingers "
681
+ "over a cluttered marker. Note: this feature is not supported in browsers "
682
+ "that do not support SVG, i.e. Internet Explorer version 8 or earlier."
683
+ msgstr ""
684
+ "Configure magnifying glass settings, which appears, when the user lingers "
685
+ "over a cluttered marker. Note: this feature is not supported in browsers "
686
+ "that do not support SVG, i.e. Internet Explorer version 8 or earlier."
687
 
688
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:272
689
  msgid "Enabled"
690
  msgstr "Enabled"
691
 
692
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:276
693
+ msgid ""
694
+ "If yes, when the user lingers over a cluttered marker, a magnifiying glass "
695
+ "will be opened."
696
+ msgstr ""
697
+ "If yes, when the user lingers over a cluttered marker, a magnifiying glass "
698
+ "will be opened."
699
 
700
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:280
701
  msgid "Zoom Factor"
702
  msgstr "Zoom Factor"
703
 
704
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:283
705
+ msgid ""
706
+ "The zoom factor of the magnifying glass. Can be any number greater than 0."
707
+ msgstr ""
708
+ "The zoom factor of the magnifying glass. Can be any number greater than 0."
709
 
710
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:298
711
  msgid "Layout Settings"
716
  msgstr "Keep Aspect Ratio"
717
 
718
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:327
719
+ msgid ""
720
+ "If yes, the map will be drawn at the largest size that can fit inside the "
721
+ "chart area at its natural aspect ratio. If only one of the width and height "
722
+ "options is specified, the other one will be calculated according to the "
723
+ "aspect ratio."
724
+ msgstr ""
725
+ "If yes, the map will be drawn at the largest size that can fit inside the "
726
+ "chart area at its natural aspect ratio. If only one of the width and height "
727
+ "options is specified, the other one will be calculated according to the "
728
+ "aspect ratio."
729
 
730
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:328
731
+ msgid ""
732
+ "If no, the map will be stretched to the exact size of the chart as specified "
733
+ "by the width and height options."
734
+ msgstr ""
735
+ "If no, the map will be stretched to the exact size of the chart as specified "
736
+ "by the width and height options."
737
+
738
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:63
739
+ msgid "Min And Max Values"
740
+ msgstr "Min And Max Values"
741
+
742
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:77
743
+ msgid "The maximal and minimal values of the gauge."
744
+ msgstr "The maximal and minimal values of the gauge."
745
+
746
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:82
747
+ msgid "Minor Ticks"
748
+ msgstr "Minor Ticks"
749
+
750
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:85
751
+ msgid "The number of minor tick section in each major tick section."
752
+ msgstr "The number of minor tick section in each major tick section."
753
+
754
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:101
755
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:126
756
+ msgid "Green Color"
757
+ msgstr "Green Color"
758
+
759
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:103
760
+ msgid "Configure the green section of the gauge chart."
761
+ msgstr "Configure the green section of the gauge chart."
762
+
763
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:107
764
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:149
765
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:191
766
+ msgid "From And To Range"
767
+ msgstr "From And To Range"
768
+
769
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:121
770
+ msgid "The lowest and highest values for a range marked by a green color."
771
+ msgstr "The lowest and highest values for a range marked by a green color."
772
+
773
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:143
774
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:168
775
+ msgid "Yellow Color"
776
+ msgstr "Yellow Color"
777
+
778
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:145
779
+ msgid "Configure the yellow section of the gauge chart."
780
+ msgstr "Configure the yellow section of the gauge chart."
781
+
782
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:163
783
+ msgid "The lowest and highest values for a range marked by a yellow color."
784
+ msgstr "The lowest and highest values for a range marked by a yellow color."
785
+
786
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:185
787
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:210
788
+ msgid "Red Color"
789
+ msgstr "Red Color"
790
+
791
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:187
792
+ msgid "Configure the red section of the gauge chart."
793
+ msgstr "Configure the red section of the gauge chart."
794
+
795
+ #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:205
796
+ msgid "The lowest and highest values for a range marked by a red color."
797
+ msgstr "The lowest and highest values for a range marked by a red color."
798
+
799
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:58
800
+ msgid "Pie Settings"
801
+ msgstr "Pie Settings"
802
+
803
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:61
804
+ msgid "Is 3D"
805
+ msgstr "Is 3D"
806
+
807
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:65
808
+ msgid "If set to yes, displays a three-dimensional chart."
809
+ msgstr "If set to yes, displays a three-dimensional chart."
810
+
811
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:69
812
+ msgid "Reverse Categories"
813
+ msgstr "Reverse Categories"
814
+
815
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:73
816
+ msgid "If set to yes, will draw slices counterclockwise."
817
+ msgstr "If set to yes, will draw slices counterclockwise."
818
+
819
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:77
820
+ msgid "Slice Text"
821
+ msgstr "Slice Text"
822
+
823
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:82
824
+ msgid "The percentage of the slice size out of the total"
825
+ msgstr "The percentage of the slice size out of the total"
826
+
827
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:83
828
+ msgid "The quantitative value of the slice"
829
+ msgstr "The quantitative value of the slice"
830
+
831
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:84
832
+ msgid "The name of the slice"
833
+ msgstr "The name of the slice"
834
+
835
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:85
836
+ msgid "No text is displayed"
837
+ msgstr "No text is displayed"
838
+
839
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:87
840
+ msgid "The content of the text displayed on the slice."
841
+ msgstr "The content of the text displayed on the slice."
842
+
843
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:91
844
+ msgid "Slice Border Color"
845
+ msgstr "Slice Border Color"
846
+
847
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:108
848
+ msgid "Residue Settings"
849
+ msgstr "Residue Settings"
850
+
851
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:111
852
+ msgid "Visibility Threshold"
853
+ msgstr "Visibility Threshold"
854
+
855
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:114
856
+ msgid ""
857
+ "The slice relative part, below which a slice will not show individually. All "
858
+ "slices that have not passed this threshold will be combined to a single "
859
+ "slice, whose size is the sum of all their sizes. Default is not to show "
860
+ "individually any slice which is smaller than half a degree."
861
+ msgstr ""
862
+ "The slice relative part, below which a slice will not show individually. All "
863
+ "slices that have not passed this threshold will be combined to a single "
864
+ "slice, whose size is the sum of all their sizes. Default is not to show "
865
+ "individually any slice which is smaller than half a degree."
866
+
867
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:119
868
+ msgid "Residue Slice Label"
869
+ msgstr "Residue Slice Label"
870
+
871
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:122
872
+ msgid ""
873
+ "A label for the combination slice that holds all slices below slice "
874
+ "visibility threshold."
875
+ msgstr ""
876
+ "A label for the combination slice that holds all slices below slice "
877
+ "visibility threshold."
878
+
879
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:123
880
+ msgid "Other"
881
+ msgstr "Other"
882
+
883
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:127
884
+ msgid "Residue Slice Color"
885
+ msgstr "Residue Slice Color"
886
+
887
+ #: classes/Visualizer/Render/Sidebar/Type/Pie.php:144
888
+ msgid "Slices Colors"
889
+ msgstr "Slices Colors"
890
+
891
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:58
892
+ msgid "Candles Settings"
893
+ msgstr "Candles Settings"
894
+
895
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:73
896
+ msgid "Failing Candles"
897
+ msgstr "Failing Candles"
898
+
899
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:78
900
+ msgid "The stroke width of falling candles."
901
+ msgstr "The stroke width of falling candles."
902
+
903
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:90
904
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:114
905
+ msgid "Fill Color"
906
+ msgstr "Fill Color"
907
+
908
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:97
909
+ msgid "Rising Candles"
910
+ msgstr "Rising Candles"
911
+
912
+ #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:102
913
+ msgid "The stroke width of rising candles."
914
+ msgstr "The stroke width of rising candles."
915
+
916
+ #: classes/Visualizer/Render/Page/Settings.php:56
917
+ #: classes/Visualizer/Render/Page/Data.php:99
918
+ msgid "Back"
919
+ msgstr "Back"
920
+
921
+ #: classes/Visualizer/Render/Page/Data.php:62
922
+ msgid "Upload CSV File"
923
+ msgstr "Upload CSV File"
924
+
925
+ #: classes/Visualizer/Render/Page/Data.php:67
926
+ msgid ""
927
+ "Select and upload your data CSV file here. The first row of the CSV file "
928
+ "should contain the column headings. The second one should contain series "
929
+ "type (string, number, boolean, date, datetime, timeofday)."
930
+ msgstr ""
931
+ "Select and upload your data CSV file here. The first row of the CSV file "
932
+ "should contain the column headings. The second one should contain series "
933
+ "type (string, number, boolean, date, datetime, timeofday)."
934
+
935
+ #: classes/Visualizer/Render/Page/Data.php:71
936
+ msgid ""
937
+ "If you are unsure about how to format your data CSV then please take a look "
938
+ "at this sample:"
939
+ msgstr ""
940
+ "If you are unsure about how to format your data CSV then please take a look "
941
+ "at this sample:"
942
+
943
+ #: classes/Visualizer/Render/Page/Data.php:73
944
+ #, php-format
945
+ msgid "or read how you can add Google spreadsheet in following %sarticle%s."
946
+ msgstr "or read how you can add Google spreadsheet in following %sarticle%s."
947
+
948
+ #: classes/Visualizer/Render/Page/Data.php:81
949
+ msgid "From Computer"
950
+ msgstr "From Computer"
951
+
952
+ #: classes/Visualizer/Render/Page/Data.php:83
953
+ msgid "From Web"
954
+ msgstr "From Web"
955
+
956
+ #: classes/Visualizer/Render/Page/Data.php:102
957
+ #: classes/Visualizer/Render/Page/Types.php:84
958
+ msgid "Next"
959
+ msgstr "Next"
960
 
961
  #: classes/Visualizer/Module/Admin.php:78
962
  msgid "All"
1010
  msgid "Create New"
1011
  msgstr "Create New"
1012
 
1013
+ #: classes/Visualizer/Module/Admin.php:320
1014
  msgid "Library"
1015
  msgstr "Library"
1016
 
1017
+ #: classes/Visualizer/Module/Admin.php:343
1018
  msgid "Knowledge Base"
1019
  msgstr "Knowledge Base"
1020
 
1021
+ #: classes/Visualizer/Module/Admin.php:349
1022
  msgid "Community"
1023
  msgstr "Community"
1024
 
1025
+ #: classes/Visualizer/Module/Chart.php:316
1026
+ msgid "Please, enter the URL of CSV file:"
1027
+ msgstr "Please, enter the URL of CSV file:"
1028
+
1029
+ #: classes/Visualizer/Module/Chart.php:317
1030
+ msgid "You have entered invalid URL. Please, insert proper URL."
1031
+ msgstr "You have entered invalid URL. Please, insert proper URL."
1032
+
1033
+ #: classes/Visualizer/Module/Chart.php:377
1034
  msgid "Save Chart"
1035
  msgstr "Save Chart"
1036
 
1037
+ #: classes/Visualizer/Module/Chart.php:378
1038
  msgid "Create Chart"
1039
  msgstr "Create Chart"
1040
 
1041
+ #: classes/Visualizer/Module/Chart.php:380
1042
  msgid "Insert Chart"
1043
  msgstr "Insert Chart"
1044
 
1045
+ #: classes/Visualizer/Module/Chart.php:414
1046
  msgid "CSV file with chart data was not uploaded. Please, try again."
1047
  msgstr "CSV file with chart data was not uploaded. Please, try again."
1048
 
1049
+ #: classes/Visualizer/Module/Chart.php:429
1050
+ msgid "CSV file is broken or invalid. Please, try again."
1051
+ msgstr "CSV file is broken or invalid. Please, try again."
 
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.5.2
7
- Stable tag: 1.0.1
8
  License: GPL v2.0 or later
9
  License URI: http://www.opensource.org/licenses/gpl-license.php
10
 
@@ -27,6 +27,16 @@ Charts are rendered using HTML5/SVG technology to provide cross-browser compatib
27
 
28
  *above descriptions were partially taken from Google Visualization API site*
29
 
 
 
 
 
 
 
 
 
 
 
30
  == Installation ==
31
 
32
  1. Upload the files to the `/wp-content/plugins/visualizer/` directory.
@@ -42,24 +52,13 @@ Charts are rendered using HTML5/SVG technology to provide cross-browser compatib
42
 
43
  == Changelog ==
44
 
 
 
 
 
 
45
  = 1.0.1 =
46
  * The bug with CSV file uploading was fixed.
47
 
48
  = 1.0.0 =
49
- * The first version of the plugin was implemented.
50
-
51
- == Usage ==
52
-
53
- The plugin is very simple in use. To create a chart you just need to complete three steps wizard, which walks you through chart type selection, data uploading and settings configuration screens.
54
-
55
- = Create Chart =
56
-
57
- 1. Create or edit existing post/page;
58
- 1. Click on "Add Media" button above post/page content editor;
59
- 1. Go to "Visualizations" menu item at left sidebar;
60
- 1. Click on "Create New" at the top of popup, below "Visualization" title;
61
- 1. Chart type selection sheet appears. Select a chart type and click on "Next" button at the right bottom corner;
62
- 1. Data uploading screen appears. Expand "Upload CSV file" section at right sidebar. Upload your CSV file. You can find a link on a sample in the text above "Upload CSV file" button;
63
- 1. After you've uploaded your csv file, click on "Next" button and go to settings screen;
64
- 1. At this screen you can configure appropriate settings and change a look of your chart;
65
- 1. When you have finished, click on "Insert Chart" button and save your post/page. That's all, your chart will appear at front end.
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.5.2
7
+ Stable tag: 1.1.0
8
  License: GPL v2.0 or later
9
  License URI: http://www.opensource.org/licenses/gpl-license.php
10
 
27
 
28
  *above descriptions were partially taken from Google Visualization API site*
29
 
30
+ ### Knowledge Base ###
31
+
32
+ Read how to [create a chart](http://visualizer.madpixels.net/knowledgebase/how-can-i-create-a-chart/) in the [Knowledge Base](http://visualizer.madpixels.net/knowledgebase/). More helpful articles:
33
+
34
+ 1. [How can I edit a chart?](http://visualizer.madpixels.net/knowledgebase/how-can-i-edit-a-chart/)
35
+ 1. [How can I clone a chart?](http://visualizer.madpixels.net/knowledgebase/how-can-i-clone-a-chart/)
36
+ 1. [How can I delete a chart?](http://visualizer.madpixels.net/knowledgebase/how-can-i-delete-a-chart/)
37
+ 1. [How can I populate data from Google Spreadsheet?](http://visualizer.madpixels.net/knowledgebase/how-can-i-populate-data-from-google-spreadsheet/)
38
+ 1. [How can I populate chart series and data dynamically?](http://visualizer.madpixels.net/knowledgebase/how-can-i-populate-chart-series-and-data-dynamically/)
39
+
40
  == Installation ==
41
 
42
  1. Upload the files to the `/wp-content/plugins/visualizer/` directory.
52
 
53
  == Changelog ==
54
 
55
+ = 1.1.0 =
56
+ * Auto population was added for remote CSV file source.
57
+ * Ability to hook chart series and data was implemented.
58
+ * Ability to upload CSV files from web was implemented.
59
+
60
  = 1.0.1 =
61
  * The bug with CSV file uploading was fixed.
62
 
63
  = 1.0.0 =
64
+ * The first version of the plugin was implemented.