WordPress Charts and Graphs Lite - Version 1.2.0

Version Description

  • Implemented minor grid lines settings.
  • Implemented view window settings.
  • Horizontal and vertical axes settings were split into separate groups.
Download this release

Release Info

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

Code changes from version 1.1.4 to 1.2.0

classes/Visualizer/Plugin.php CHANGED
@@ -30,7 +30,7 @@
30
  class Visualizer_Plugin {
31
 
32
  const NAME = 'visualizer';
33
- const VERSION = '1.1.4';
34
 
35
  // custom post types
36
  const CPT_VISUALIZER = 'visualizer';
30
  class Visualizer_Plugin {
31
 
32
  const NAME = 'visualizer';
33
+ const VERSION = '1.2.0';
34
 
35
  // custom post types
36
  const CPT_VISUALIZER = 'visualizer';
classes/Visualizer/Render/Library.php CHANGED
@@ -105,7 +105,7 @@ class Visualizer_Render_Library extends Visualizer_Render {
105
  echo '</div>';
106
 
107
  if ( is_array( $this->pagination ) ) {
108
- echo '<ul>';
109
  foreach ( $this->pagination as $page ) {
110
  echo '<li class="visualizer-list-item">', $page, '</li>';
111
  }
105
  echo '</div>';
106
 
107
  if ( is_array( $this->pagination ) ) {
108
+ echo '<ul class="visualizer-library-pagination">';
109
  foreach ( $this->pagination as $page ) {
110
  echo '<li class="visualizer-list-item">', $page, '</li>';
111
  }
classes/Visualizer/Render/Sidebar/Graph.php CHANGED
@@ -102,34 +102,30 @@ abstract class Visualizer_Render_Sidebar_Graph extends Visualizer_Render_Sidebar
102
  $this->_positions,
103
  esc_html__( 'Where to place the chart title, compared to the chart area.', Visualizer_Plugin::NAME )
104
  );
 
 
 
 
 
 
 
 
 
 
 
 
105
  }
106
 
107
  /**
108
- * Renders chart axes settings.
109
  *
110
- * @since 1.0.0
111
  *
112
  * @access protected
113
  */
114
- protected function _renderAxesSettings() {
115
- $directions = array(
116
- '' => '',
117
- '1' => esc_html__( 'Identical Direction', Visualizer_Plugin::NAME ),
118
- '-1' => esc_html__( 'Reverse Direction', Visualizer_Plugin::NAME ),
119
- );
120
-
121
- self::_renderGroupStart( esc_html__( 'Horizontal & Vertical Axes', Visualizer_Plugin::NAME ) );
122
- self::_renderSectionStart();
123
- self::_renderSelectItem(
124
- esc_html__( 'Axes Titles Position', Visualizer_Plugin::NAME ),
125
- 'axisTitlesPosition',
126
- $this->axisTitlesPosition,
127
- $this->_positions,
128
- esc_html__( 'Determines where to place the axis titles, compared to the chart area.', Visualizer_Plugin::NAME )
129
- );
130
- self::_renderSectionEnd();
131
-
132
- self::_renderSectionStart( esc_html__( 'Horizontal Axis', Visualizer_Plugin::NAME ), false );
133
  self::_renderTextItem(
134
  esc_html__( 'Axis Title', Visualizer_Plugin::NAME ),
135
  'hAxis[title]',
@@ -149,13 +145,26 @@ abstract class Visualizer_Render_Sidebar_Graph extends Visualizer_Render_Sidebar
149
  esc_html__( 'Direction', Visualizer_Plugin::NAME ),
150
  'hAxis[direction]',
151
  isset( $this->hAxis['direction'] ) ? $this->hAxis['direction'] : '',
152
- $directions,
 
 
 
 
153
  esc_html__( 'The direction in which the values along the horizontal axis grow.', Visualizer_Plugin::NAME )
154
  );
155
 
156
- if ( $this->_horizontalGridLines ) {
 
 
 
 
 
 
 
 
 
157
  self::_renderTextItem(
158
- esc_html__( 'Grid Lines Count', Visualizer_Plugin::NAME ),
159
  'vAxis[gridlines][count]',
160
  isset( $this->vAxis['gridlines']['count'] ) ? $this->vAxis['gridlines']['count'] : '',
161
  esc_html__( 'The number of horizontal gridlines inside the chart area. Minimum value is 2. Specify -1 to automatically compute the number of gridlines.', Visualizer_Plugin::NAME ),
@@ -163,22 +172,61 @@ abstract class Visualizer_Render_Sidebar_Graph extends Visualizer_Render_Sidebar
163
  );
164
 
165
  self::_renderColorPickerItem(
166
- esc_html__( 'Grid Lines Color', Visualizer_Plugin::NAME ),
167
  'vAxis[gridlines][color]',
168
  isset( $this->vAxis['gridlines']['color'] ) ? $this->vAxis['gridlines']['color'] : null,
169
  '#ccc'
170
  );
171
- }
172
 
173
- self::_renderColorPickerItem(
174
- esc_html__( 'Base Line Color', Visualizer_Plugin::NAME ),
175
- 'vAxis[baselineColor]',
176
- isset( $this->vAxis['baselineColor'] ) ? $this->vAxis['baselineColor'] : null,
177
- '#000'
178
- );
179
- self::_renderSectionEnd();
 
180
 
181
- self::_renderSectionStart( esc_html__( 'Vertical Axis', Visualizer_Plugin::NAME ), false );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
  self::_renderTextItem(
183
  esc_html__( 'Axis Title', Visualizer_Plugin::NAME ),
184
  'vAxis[title]',
@@ -198,13 +246,26 @@ abstract class Visualizer_Render_Sidebar_Graph extends Visualizer_Render_Sidebar
198
  esc_html__( 'Direction', Visualizer_Plugin::NAME ),
199
  'vAxis[direction]',
200
  isset( $this->vAxis['direction'] ) ? $this->vAxis['direction'] : '',
201
- $directions,
 
 
 
 
202
  esc_html__( 'The direction in which the values along the vertical axis grow.', Visualizer_Plugin::NAME )
203
  );
204
 
205
- if ( $this->_verticalGridLines ) {
 
 
 
 
 
 
 
 
 
206
  self::_renderTextItem(
207
- esc_html__( 'Grid Lines Count', Visualizer_Plugin::NAME ),
208
  'hAxis[gridlines][count]',
209
  isset( $this->hAxis['gridlines']['count'] ) ? $this->hAxis['gridlines']['count'] : '',
210
  esc_html__( 'The number of vertical gridlines inside the chart area. Minimum value is 2. Specify -1 to automatically compute the number of gridlines.', Visualizer_Plugin::NAME ),
@@ -212,23 +273,63 @@ abstract class Visualizer_Render_Sidebar_Graph extends Visualizer_Render_Sidebar
212
  );
213
 
214
  self::_renderColorPickerItem(
215
- esc_html__( 'Grid Lines Color', Visualizer_Plugin::NAME ),
216
  'hAxis[gridlines][color]',
217
  isset( $this->hAxis['gridlines']['color'] ) ? $this->hAxis['gridlines']['color'] : null,
218
  '#ccc'
219
  );
220
- }
221
 
222
- self::_renderColorPickerItem(
223
- esc_html__( 'Base Line Color', Visualizer_Plugin::NAME ),
224
- 'hAxis[baselineColor]',
225
- isset( $this->hAxis['baselineColor'] ) ? $this->hAxis['baselineColor'] : null,
226
- '#000'
227
- );
228
- self::_renderSectionEnd();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  self::_renderGroupEnd();
230
  }
231
 
 
 
 
 
 
 
 
 
 
 
 
 
232
  /**
233
  * Renders series settings group.
234
  *
102
  $this->_positions,
103
  esc_html__( 'Where to place the chart title, compared to the chart area.', Visualizer_Plugin::NAME )
104
  );
105
+
106
+ echo '<div class="section-delimiter"></div>';
107
+
108
+ self::_renderSelectItem(
109
+ esc_html__( 'Axes Titles Position', Visualizer_Plugin::NAME ),
110
+ 'axisTitlesPosition',
111
+ $this->axisTitlesPosition,
112
+ $this->_positions,
113
+ esc_html__( 'Determines where to place the axis titles, compared to the chart area.', Visualizer_Plugin::NAME )
114
+ );
115
+
116
+ echo '<div class="section-delimiter"></div>';
117
  }
118
 
119
  /**
120
+ * Renders horizontal axis settings.
121
  *
122
+ * @since 1.2.0
123
  *
124
  * @access protected
125
  */
126
+ protected function _renderHorizontalAxisSettings() {
127
+ self::_renderGroupStart( esc_html__( 'Horizontal Axis Settings', Visualizer_Plugin::NAME ) );
128
+ self::_renderSectionStart( esc_html__( 'General Settings', Visualizer_Plugin::NAME ), false );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  self::_renderTextItem(
130
  esc_html__( 'Axis Title', Visualizer_Plugin::NAME ),
131
  'hAxis[title]',
145
  esc_html__( 'Direction', Visualizer_Plugin::NAME ),
146
  'hAxis[direction]',
147
  isset( $this->hAxis['direction'] ) ? $this->hAxis['direction'] : '',
148
+ array(
149
+ '' => '',
150
+ '1' => esc_html__( 'Identical Direction', Visualizer_Plugin::NAME ),
151
+ '-1' => esc_html__( 'Reverse Direction', Visualizer_Plugin::NAME ),
152
+ ),
153
  esc_html__( 'The direction in which the values along the horizontal axis grow.', Visualizer_Plugin::NAME )
154
  );
155
 
156
+ self::_renderColorPickerItem(
157
+ esc_html__( 'Base Line Color', Visualizer_Plugin::NAME ),
158
+ 'vAxis[baselineColor]',
159
+ isset( $this->vAxis['baselineColor'] ) ? $this->vAxis['baselineColor'] : null,
160
+ '#000'
161
+ );
162
+ self::_renderSectionEnd();
163
+
164
+ if ( $this->_horizontalGridLines ) {
165
+ self::_renderSectionStart( esc_html__( 'Grid Lines', Visualizer_Plugin::NAME ), false );
166
  self::_renderTextItem(
167
+ esc_html__( 'Count', Visualizer_Plugin::NAME ),
168
  'vAxis[gridlines][count]',
169
  isset( $this->vAxis['gridlines']['count'] ) ? $this->vAxis['gridlines']['count'] : '',
170
  esc_html__( 'The number of horizontal gridlines inside the chart area. Minimum value is 2. Specify -1 to automatically compute the number of gridlines.', Visualizer_Plugin::NAME ),
172
  );
173
 
174
  self::_renderColorPickerItem(
175
+ esc_html__( 'Color', Visualizer_Plugin::NAME ),
176
  'vAxis[gridlines][color]',
177
  isset( $this->vAxis['gridlines']['color'] ) ? $this->vAxis['gridlines']['color'] : null,
178
  '#ccc'
179
  );
180
+ self::_renderSectionEnd();
181
 
182
+ self::_renderSectionStart( esc_html__( 'Minor Grid Lines', Visualizer_Plugin::NAME ), false );
183
+ self::_renderTextItem(
184
+ esc_html__( 'Count', Visualizer_Plugin::NAME ),
185
+ 'vAxis[minorGridlines][count]',
186
+ isset( $this->vAxis['minorGridlines']['count'] ) ? $this->vAxis['minorGridlines']['count'] : '',
187
+ esc_html__( 'The number of horizontal minor gridlines between two regular gridlines.', Visualizer_Plugin::NAME ),
188
+ 0
189
+ );
190
 
191
+ self::_renderColorPickerItem(
192
+ esc_html__( 'Color', Visualizer_Plugin::NAME ),
193
+ 'vAxis[minorGridlines][color]',
194
+ isset( $this->vAxis['minorGridlines']['color'] ) ? $this->vAxis['minorGridlines']['color'] : null,
195
+ null
196
+ );
197
+ self::_renderSectionEnd();
198
+ }
199
+
200
+ if ( $this->_verticalGridLines ) {
201
+ self::_renderSectionStart( esc_html__( 'View Window', Visualizer_Plugin::NAME ), false );
202
+ self::_renderTextItem(
203
+ esc_html__( 'Maximum Value', Visualizer_Plugin::NAME ),
204
+ 'hAxis[viewWindow][max]',
205
+ isset( $this->hAxis['viewWindow']['max'] ) ? $this->hAxis['viewWindow']['max'] : '',
206
+ 'The maximum vertical data value to render.'
207
+ );
208
+
209
+ self::_renderTextItem(
210
+ esc_html__( 'Minimum Value', Visualizer_Plugin::NAME ),
211
+ 'hAxis[viewWindow][min]',
212
+ isset( $this->hAxis['viewWindow']['min'] ) ? $this->hAxis['viewWindow']['min'] : '',
213
+ 'The minimum vertical data value to render.'
214
+ );
215
+ self::_renderSectionEnd();
216
+ }
217
+ self::_renderGroupEnd();
218
+ }
219
+
220
+ /**
221
+ * Renders vertical axis settings.
222
+ *
223
+ * @since 1.2.0
224
+ *
225
+ * @access protected
226
+ */
227
+ protected function _renderVerticalAxisSettings() {
228
+ self::_renderGroupStart( esc_html__( 'Vertical Axis Settings', Visualizer_Plugin::NAME ) );
229
+ self::_renderSectionStart( esc_html__( 'General Settings', Visualizer_Plugin::NAME ), false );
230
  self::_renderTextItem(
231
  esc_html__( 'Axis Title', Visualizer_Plugin::NAME ),
232
  'vAxis[title]',
246
  esc_html__( 'Direction', Visualizer_Plugin::NAME ),
247
  'vAxis[direction]',
248
  isset( $this->vAxis['direction'] ) ? $this->vAxis['direction'] : '',
249
+ array(
250
+ '' => '',
251
+ '1' => esc_html__( 'Identical Direction', Visualizer_Plugin::NAME ),
252
+ '-1' => esc_html__( 'Reverse Direction', Visualizer_Plugin::NAME ),
253
+ ),
254
  esc_html__( 'The direction in which the values along the vertical axis grow.', Visualizer_Plugin::NAME )
255
  );
256
 
257
+ self::_renderColorPickerItem(
258
+ esc_html__( 'Base Line Color', Visualizer_Plugin::NAME ),
259
+ 'hAxis[baselineColor]',
260
+ isset( $this->hAxis['baselineColor'] ) ? $this->hAxis['baselineColor'] : null,
261
+ '#000'
262
+ );
263
+ self::_renderSectionEnd();
264
+
265
+ if ( $this->_verticalGridLines ) {
266
+ self::_renderSectionStart( esc_html__( 'Grid Lines', Visualizer_Plugin::NAME ), false );
267
  self::_renderTextItem(
268
+ esc_html__( 'Count', Visualizer_Plugin::NAME ),
269
  'hAxis[gridlines][count]',
270
  isset( $this->hAxis['gridlines']['count'] ) ? $this->hAxis['gridlines']['count'] : '',
271
  esc_html__( 'The number of vertical gridlines inside the chart area. Minimum value is 2. Specify -1 to automatically compute the number of gridlines.', Visualizer_Plugin::NAME ),
273
  );
274
 
275
  self::_renderColorPickerItem(
276
+ esc_html__( 'Color', Visualizer_Plugin::NAME ),
277
  'hAxis[gridlines][color]',
278
  isset( $this->hAxis['gridlines']['color'] ) ? $this->hAxis['gridlines']['color'] : null,
279
  '#ccc'
280
  );
281
+ self::_renderSectionEnd();
282
 
283
+ self::_renderSectionStart( esc_html__( 'Minor Grid Lines', Visualizer_Plugin::NAME ), false );
284
+ self::_renderTextItem(
285
+ esc_html__( 'Count', Visualizer_Plugin::NAME ),
286
+ 'hAxis[minorGridlines][count]',
287
+ isset( $this->hAxis['minorGridlines']['count'] ) ? $this->hAxis['minorGridlines']['count'] : '',
288
+ esc_html__( 'The number of vertical minor gridlines between two regular gridlines.', Visualizer_Plugin::NAME ),
289
+ 0
290
+ );
291
+
292
+ self::_renderColorPickerItem(
293
+ esc_html__( 'Color', Visualizer_Plugin::NAME ),
294
+ 'hAxis[minorGridlines][color]',
295
+ isset( $this->hAxis['minorGridlines']['color'] ) ? $this->hAxis['minorGridlines']['color'] : null,
296
+ null
297
+ );
298
+ self::_renderSectionEnd();
299
+ }
300
+
301
+ if ( $this->_horizontalGridLines ) {
302
+ self::_renderSectionStart( esc_html__( 'View Window', Visualizer_Plugin::NAME ), false );
303
+ self::_renderTextItem(
304
+ esc_html__( 'Maximum Value', Visualizer_Plugin::NAME ),
305
+ 'vAxis[viewWindow][max]',
306
+ isset( $this->vAxis['viewWindow']['max'] ) ? $this->vAxis['viewWindow']['max'] : '',
307
+ 'The maximum vertical data value to render.'
308
+ );
309
+
310
+ self::_renderTextItem(
311
+ esc_html__( 'Minimum Value', Visualizer_Plugin::NAME ),
312
+ 'vAxis[viewWindow][min]',
313
+ isset( $this->vAxis['viewWindow']['min'] ) ? $this->vAxis['viewWindow']['min'] : '',
314
+ 'The minimum vertical data value to render.'
315
+ );
316
+ self::_renderSectionEnd();
317
+ }
318
  self::_renderGroupEnd();
319
  }
320
 
321
+ /**
322
+ * Renders chart axes settings.
323
+ *
324
+ * @since 1.0.0
325
+ *
326
+ * @access protected
327
+ */
328
+ protected function _renderAxesSettings() {
329
+ $this->_renderHorizontalAxisSettings();
330
+ $this->_renderVerticalAxisSettings();
331
+ }
332
+
333
  /**
334
  * Renders series settings group.
335
  *
css/library.css CHANGED
@@ -139,3 +139,7 @@ a.page-numbers:hover {
139
  background-color: lightcoral;
140
  box-shadow: 0 0 5px lightpink;
141
  }
 
 
 
 
139
  background-color: lightcoral;
140
  box-shadow: 0 0 5px lightpink;
141
  }
142
+
143
+ .visualizer-library-pagination {
144
+ display: none;
145
+ }
index.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WordPress Visualizer
4
  Plugin URI: http://visualizer.madpixels.net
5
  Description: A simple, easy to use and quite powerful tool to create, manage and embed interactive charts into your WordPress posts and pages. The plugin uses Google Visualization API to render charts, which supports cross-browser compatibility (adopting VML for older IE versions) and cross-platform portability to iOS and new Android releases.
6
- Version: 1.1.4
7
  Author: Madpixels
8
  Author URI: http://madpixels.net
9
  License: GPL v2.0 or later
3
  Plugin Name: WordPress Visualizer
4
  Plugin URI: http://visualizer.madpixels.net
5
  Description: A simple, easy to use and quite powerful tool to create, manage and embed interactive charts into your WordPress posts and pages. The plugin uses Google Visualization API to render charts, which supports cross-browser compatibility (adopting VML for older IE versions) and cross-platform portability to iOS and new Android releases.
6
+ Version: 1.2.0
7
  Author: Madpixels
8
  Author URI: http://madpixels.net
9
  License: GPL v2.0 or later
js/library.js CHANGED
@@ -42,7 +42,7 @@
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;
42
  $('.visualizer-chart-canvas').adjust();
43
 
44
  $(document).ready(function() {
45
+ $('.visualizer-chart, .visualizer-library-pagination').fadeIn(500);
46
 
47
  $('.visualizer-chart-shortcode').click(function(e) {
48
  var range, selection;
js/render.js CHANGED
@@ -4,7 +4,7 @@
4
  v.objects = {};
5
 
6
  v.renderChart = function(id) {
7
- var chart, render, container, series, data, table, settings, i, j, row, date;
8
 
9
  chart = v.charts[id];
10
  series = chart.series;
@@ -58,6 +58,36 @@
58
  return;
59
  }
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  for (i = 0; i < data.length; i++) {
62
  row = [];
63
  for (j = 0; j < series.length; j++) {
4
  v.objects = {};
5
 
6
  v.renderChart = function(id) {
7
+ var chart, render, container, series, data, table, settings, i, j, row, date, axis, property;
8
 
9
  chart = v.charts[id];
10
  series = chart.series;
58
  return;
59
  }
60
 
61
+ if (series[0].type == 'date' || series[0].type == 'datetime') {
62
+ axis = false;
63
+ switch (v.charts[id].type) {
64
+ case 'line':
65
+ case 'area':
66
+ case 'scatter':
67
+ case 'candlestick':
68
+ case 'column':
69
+ axis = settings.hAxis;
70
+ break;
71
+ case 'bar':
72
+ axis = settings.vAxis;
73
+ break;
74
+ }
75
+
76
+ if (axis) {
77
+ for (property in axis.viewWindow) {
78
+ date = new Date(axis.viewWindow[property]);
79
+ if (Object.prototype.toString.call(date) === "[object Date]") {
80
+ if (!isNaN(date.getTime())) {
81
+ axis.viewWindow[property] = date;
82
+ continue;
83
+ }
84
+ }
85
+
86
+ delete axis.viewWindow[property];
87
+ }
88
+ }
89
+ }
90
+
91
  for (i = 0; i < data.length; i++) {
92
  row = [];
93
  for (j = 0; j < series.length; j++) {
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-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"
@@ -51,14 +51,14 @@ 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"
@@ -72,6 +72,8 @@ msgid "Text to display above the chart."
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"
@@ -286,7 +288,7 @@ msgstr "Curve Type"
286
  #: classes/Visualizer/Render/Sidebar/Linear.php:117
287
  #: classes/Visualizer/Render/Sidebar/Linear.php:169
288
  #: classes/Visualizer/Render/Sidebar/Linear.php:194
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 ""
@@ -321,7 +323,7 @@ msgid "Lines Settings"
321
  msgstr "Lines Settings"
322
 
323
  #: classes/Visualizer/Render/Sidebar/Linear.php:161
324
- #: classes/Visualizer/Render/Sidebar/Graph.php:261
325
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:133
326
  msgid "Visible In Legend"
327
  msgstr "Visible In Legend"
@@ -335,7 +337,11 @@ msgid "Overrides the global point size value for this series."
335
  msgstr "Overrides the global point size value for this series."
336
 
337
  #: classes/Visualizer/Render/Sidebar/Linear.php:199
338
- #: classes/Visualizer/Render/Sidebar/Graph.php:273
 
 
 
 
339
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:145
340
  msgid "Color"
341
  msgstr "Color"
@@ -370,63 +376,73 @@ msgstr "Chart Title Position"
370
  msgid "Where to place the chart title, compared to the chart area."
371
  msgstr "Where to place the chart title, compared to the chart area."
372
 
373
- #: classes/Visualizer/Render/Sidebar/Graph.php:117
374
- msgid "Identical Direction"
375
- msgstr "Identical Direction"
376
-
377
- #: classes/Visualizer/Render/Sidebar/Graph.php:118
378
- msgid "Reverse Direction"
379
- msgstr "Reverse Direction"
380
-
381
- #: classes/Visualizer/Render/Sidebar/Graph.php:121
382
- msgid "Horizontal & Vertical Axes"
383
- msgstr "Horizontal & Vertical Axes"
384
-
385
- #: classes/Visualizer/Render/Sidebar/Graph.php:124
386
  msgid "Axes Titles Position"
387
  msgstr "Axes Titles Position"
388
 
389
- #: classes/Visualizer/Render/Sidebar/Graph.php:128
390
  msgid "Determines where to place the axis titles, compared to the chart area."
391
  msgstr "Determines where to place the axis titles, compared to the chart area."
392
 
393
- #: classes/Visualizer/Render/Sidebar/Graph.php:132
394
- msgid "Horizontal Axis"
395
- msgstr "Horizontal Axis"
396
 
397
- #: classes/Visualizer/Render/Sidebar/Graph.php:134
398
- #: classes/Visualizer/Render/Sidebar/Graph.php:183
399
  msgid "Axis Title"
400
  msgstr "Axis Title"
401
 
402
- #: classes/Visualizer/Render/Sidebar/Graph.php:137
403
  msgid "The title of the horizontal axis."
404
  msgstr "The title of the horizontal axis."
405
 
406
- #: classes/Visualizer/Render/Sidebar/Graph.php:141
407
- #: classes/Visualizer/Render/Sidebar/Graph.php:190
408
  msgid "Text Position"
409
  msgstr "Text Position"
410
 
411
- #: classes/Visualizer/Render/Sidebar/Graph.php:145
412
  msgid "Position of the horizontal axis text, relative to the chart area."
413
  msgstr "Position of the horizontal axis text, relative to the chart area."
414
 
415
- #: classes/Visualizer/Render/Sidebar/Graph.php:149
416
- #: classes/Visualizer/Render/Sidebar/Graph.php:198
417
  msgid "Direction"
418
  msgstr "Direction"
419
 
 
 
 
 
 
 
 
 
 
 
420
  #: classes/Visualizer/Render/Sidebar/Graph.php:153
421
  msgid "The direction in which the values along the horizontal axis grow."
422
  msgstr "The direction in which the values along the horizontal axis grow."
423
 
424
- #: classes/Visualizer/Render/Sidebar/Graph.php:158
425
- #: classes/Visualizer/Render/Sidebar/Graph.php:207
426
- msgid "Grid Lines Count"
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."
@@ -434,33 +450,50 @@ 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
439
- msgid "Grid Lines Color"
440
- msgstr "Grid Lines Color"
441
 
442
- #: classes/Visualizer/Render/Sidebar/Graph.php:174
443
- #: classes/Visualizer/Render/Sidebar/Graph.php:223
444
- msgid "Base Line Color"
445
- msgstr "Base Line Color"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
446
 
447
- #: classes/Visualizer/Render/Sidebar/Graph.php:181
448
- msgid "Vertical Axis"
449
- msgstr "Vertical Axis"
450
 
451
- #: classes/Visualizer/Render/Sidebar/Graph.php:186
452
  msgid "The title of the vertical axis."
453
  msgstr "The title of the vertical axis."
454
 
455
- #: classes/Visualizer/Render/Sidebar/Graph.php:194
456
  msgid "Position of the vertical axis text, relative to the chart area."
457
  msgstr "Position of the vertical axis text, relative to the chart area."
458
 
459
- #: classes/Visualizer/Render/Sidebar/Graph.php:202
460
  msgid "The direction in which the values along the vertical axis grow."
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."
@@ -468,7 +501,11 @@ 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
 
@@ -615,18 +652,10 @@ msgstr "Minimum And Maximum Values"
615
  msgid "Determines the minimum and maximum values of color axis."
616
  msgstr "Determines the minimum and maximum values of color axis."
617
 
618
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:164
619
- msgid "Minimum Value"
620
- msgstr "Minimum Value"
621
-
622
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:171
623
  msgid "Intermediate Value"
624
  msgstr "Intermediate Value"
625
 
626
- #: classes/Visualizer/Render/Sidebar/Type/Geo.php:178
627
- msgid "Maximum Value"
628
- msgstr "Maximum Value"
629
-
630
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:185
631
  msgid "Dateless Region"
632
  msgstr "Dateless Region"
@@ -1022,30 +1051,30 @@ msgstr "Knowledge Base"
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."
2
  msgstr ""
3
  "Project-Id-Version: Visualizer\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-08-14 10:03+0300\n"
6
+ "PO-Revision-Date: 2013-08-14 10:03+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"
51
 
52
  #: classes/Visualizer/Render/Sidebar.php:117
53
  #: classes/Visualizer/Render/Sidebar/Linear.php:167
54
+ #: classes/Visualizer/Render/Sidebar/Graph.php:368
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:367
62
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:138
63
  msgid "No"
64
  msgstr "No"
72
  msgstr "Text to display above the chart."
73
 
74
  #: classes/Visualizer/Render/Sidebar.php:146
75
+ #: classes/Visualizer/Render/Sidebar/Graph.php:128
76
+ #: classes/Visualizer/Render/Sidebar/Graph.php:229
77
  #: classes/Visualizer/Render/Sidebar/Type/Gauge.php:58
78
  msgid "General Settings"
79
  msgstr "General Settings"
288
  #: classes/Visualizer/Render/Sidebar/Linear.php:117
289
  #: classes/Visualizer/Render/Sidebar/Linear.php:169
290
  #: classes/Visualizer/Render/Sidebar/Linear.php:194
291
+ #: classes/Visualizer/Render/Sidebar/Graph.php:370
292
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:141
293
  msgid "Determines whether the series has to be presented in the legend or not."
294
  msgstr ""
323
  msgstr "Lines Settings"
324
 
325
  #: classes/Visualizer/Render/Sidebar/Linear.php:161
326
+ #: classes/Visualizer/Render/Sidebar/Graph.php:362
327
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:133
328
  msgid "Visible In Legend"
329
  msgstr "Visible In Legend"
337
  msgstr "Overrides the global point size value for this series."
338
 
339
  #: classes/Visualizer/Render/Sidebar/Linear.php:199
340
+ #: classes/Visualizer/Render/Sidebar/Graph.php:175
341
+ #: classes/Visualizer/Render/Sidebar/Graph.php:192
342
+ #: classes/Visualizer/Render/Sidebar/Graph.php:276
343
+ #: classes/Visualizer/Render/Sidebar/Graph.php:293
344
+ #: classes/Visualizer/Render/Sidebar/Graph.php:374
345
  #: classes/Visualizer/Render/Sidebar/Type/Candlestick.php:145
346
  msgid "Color"
347
  msgstr "Color"
376
  msgid "Where to place the chart title, compared to the chart area."
377
  msgstr "Where to place the chart title, compared to the chart area."
378
 
379
+ #: classes/Visualizer/Render/Sidebar/Graph.php:109
 
 
 
 
 
 
 
 
 
 
 
 
380
  msgid "Axes Titles Position"
381
  msgstr "Axes Titles Position"
382
 
383
+ #: classes/Visualizer/Render/Sidebar/Graph.php:113
384
  msgid "Determines where to place the axis titles, compared to the chart area."
385
  msgstr "Determines where to place the axis titles, compared to the chart area."
386
 
387
+ #: classes/Visualizer/Render/Sidebar/Graph.php:127
388
+ msgid "Horizontal Axis Settings"
389
+ msgstr "Horizontal Axis Settings"
390
 
391
+ #: classes/Visualizer/Render/Sidebar/Graph.php:130
392
+ #: classes/Visualizer/Render/Sidebar/Graph.php:231
393
  msgid "Axis Title"
394
  msgstr "Axis Title"
395
 
396
+ #: classes/Visualizer/Render/Sidebar/Graph.php:133
397
  msgid "The title of the horizontal axis."
398
  msgstr "The title of the horizontal axis."
399
 
400
+ #: classes/Visualizer/Render/Sidebar/Graph.php:137
401
+ #: classes/Visualizer/Render/Sidebar/Graph.php:238
402
  msgid "Text Position"
403
  msgstr "Text Position"
404
 
405
+ #: classes/Visualizer/Render/Sidebar/Graph.php:141
406
  msgid "Position of the horizontal axis text, relative to the chart area."
407
  msgstr "Position of the horizontal axis text, relative to the chart area."
408
 
409
+ #: classes/Visualizer/Render/Sidebar/Graph.php:145
410
+ #: classes/Visualizer/Render/Sidebar/Graph.php:246
411
  msgid "Direction"
412
  msgstr "Direction"
413
 
414
+ #: classes/Visualizer/Render/Sidebar/Graph.php:150
415
+ #: classes/Visualizer/Render/Sidebar/Graph.php:251
416
+ msgid "Identical Direction"
417
+ msgstr "Identical Direction"
418
+
419
+ #: classes/Visualizer/Render/Sidebar/Graph.php:151
420
+ #: classes/Visualizer/Render/Sidebar/Graph.php:252
421
+ msgid "Reverse Direction"
422
+ msgstr "Reverse Direction"
423
+
424
  #: classes/Visualizer/Render/Sidebar/Graph.php:153
425
  msgid "The direction in which the values along the horizontal axis grow."
426
  msgstr "The direction in which the values along the horizontal axis grow."
427
 
428
+ #: classes/Visualizer/Render/Sidebar/Graph.php:157
429
+ #: classes/Visualizer/Render/Sidebar/Graph.php:258
430
+ msgid "Base Line Color"
431
+ msgstr "Base Line Color"
432
+
433
+ #: classes/Visualizer/Render/Sidebar/Graph.php:165
434
+ #: classes/Visualizer/Render/Sidebar/Graph.php:266
435
+ msgid "Grid Lines"
436
+ msgstr "Grid Lines"
437
+
438
+ #: classes/Visualizer/Render/Sidebar/Graph.php:167
439
+ #: classes/Visualizer/Render/Sidebar/Graph.php:184
440
+ #: classes/Visualizer/Render/Sidebar/Graph.php:268
441
+ #: classes/Visualizer/Render/Sidebar/Graph.php:285
442
+ msgid "Count"
443
+ msgstr "Count"
444
 
445
+ #: classes/Visualizer/Render/Sidebar/Graph.php:170
446
  msgid ""
447
  "The number of horizontal gridlines inside the chart area. Minimum value is "
448
  "2. Specify -1 to automatically compute the number of gridlines."
450
  "The number of horizontal gridlines inside the chart area. Minimum value is "
451
  "2. Specify -1 to automatically compute the number of gridlines."
452
 
453
+ #: classes/Visualizer/Render/Sidebar/Graph.php:182
454
+ #: classes/Visualizer/Render/Sidebar/Graph.php:283
455
+ msgid "Minor Grid Lines"
456
+ msgstr "Minor Grid Lines"
457
 
458
+ #: classes/Visualizer/Render/Sidebar/Graph.php:187
459
+ msgid "The number of horizontal minor gridlines between two regular gridlines."
460
+ msgstr ""
461
+ "The number of horizontal minor gridlines between two regular gridlines."
462
+
463
+ #: classes/Visualizer/Render/Sidebar/Graph.php:201
464
+ #: classes/Visualizer/Render/Sidebar/Graph.php:302
465
+ msgid "View Window"
466
+ msgstr "View Window"
467
+
468
+ #: classes/Visualizer/Render/Sidebar/Graph.php:203
469
+ #: classes/Visualizer/Render/Sidebar/Graph.php:304
470
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:178
471
+ msgid "Maximum Value"
472
+ msgstr "Maximum Value"
473
+
474
+ #: classes/Visualizer/Render/Sidebar/Graph.php:210
475
+ #: classes/Visualizer/Render/Sidebar/Graph.php:311
476
+ #: classes/Visualizer/Render/Sidebar/Type/Geo.php:164
477
+ msgid "Minimum Value"
478
+ msgstr "Minimum Value"
479
 
480
+ #: classes/Visualizer/Render/Sidebar/Graph.php:228
481
+ msgid "Vertical Axis Settings"
482
+ msgstr "Vertical Axis Settings"
483
 
484
+ #: classes/Visualizer/Render/Sidebar/Graph.php:234
485
  msgid "The title of the vertical axis."
486
  msgstr "The title of the vertical axis."
487
 
488
+ #: classes/Visualizer/Render/Sidebar/Graph.php:242
489
  msgid "Position of the vertical axis text, relative to the chart area."
490
  msgstr "Position of the vertical axis text, relative to the chart area."
491
 
492
+ #: classes/Visualizer/Render/Sidebar/Graph.php:254
493
  msgid "The direction in which the values along the vertical axis grow."
494
  msgstr "The direction in which the values along the vertical axis grow."
495
 
496
+ #: classes/Visualizer/Render/Sidebar/Graph.php:271
497
  msgid ""
498
  "The number of vertical gridlines inside the chart area. Minimum value is 2. "
499
  "Specify -1 to automatically compute the number of gridlines."
501
  "The number of vertical gridlines inside the chart area. Minimum value is 2. "
502
  "Specify -1 to automatically compute the number of gridlines."
503
 
504
+ #: classes/Visualizer/Render/Sidebar/Graph.php:288
505
+ msgid "The number of vertical minor gridlines between two regular gridlines."
506
+ msgstr "The number of vertical minor gridlines between two regular gridlines."
507
+
508
+ #: classes/Visualizer/Render/Sidebar/Graph.php:341
509
  msgid "Series Settings"
510
  msgstr "Series Settings"
511
 
652
  msgid "Determines the minimum and maximum values of color axis."
653
  msgstr "Determines the minimum and maximum values of color axis."
654
 
 
 
 
 
655
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:171
656
  msgid "Intermediate Value"
657
  msgstr "Intermediate Value"
658
 
 
 
 
 
659
  #: classes/Visualizer/Render/Sidebar/Type/Geo.php:185
660
  msgid "Dateless Region"
661
  msgstr "Dateless Region"
1051
  msgid "Community"
1052
  msgstr "Community"
1053
 
1054
+ #: classes/Visualizer/Module/Chart.php:318
1055
  msgid "Please, enter the URL of CSV file:"
1056
  msgstr "Please, enter the URL of CSV file:"
1057
 
1058
+ #: classes/Visualizer/Module/Chart.php:319
1059
  msgid "You have entered invalid URL. Please, insert proper URL."
1060
  msgstr "You have entered invalid URL. Please, insert proper URL."
1061
 
1062
+ #: classes/Visualizer/Module/Chart.php:379
1063
  msgid "Save Chart"
1064
  msgstr "Save Chart"
1065
 
1066
+ #: classes/Visualizer/Module/Chart.php:380
1067
  msgid "Create Chart"
1068
  msgstr "Create Chart"
1069
 
1070
+ #: classes/Visualizer/Module/Chart.php:382
1071
  msgid "Insert Chart"
1072
  msgstr "Insert Chart"
1073
 
1074
+ #: classes/Visualizer/Module/Chart.php:416
1075
  msgid "CSV file with chart data was not uploaded. Please, try again."
1076
  msgstr "CSV file with chart data was not uploaded. Please, try again."
1077
 
1078
+ #: classes/Visualizer/Module/Chart.php:431
1079
  msgid "CSV file is broken or invalid. Please, try again."
1080
  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.6
7
- Stable tag: 1.1.4
8
  License: GPL v2.0 or later
9
  License URI: http://www.opensource.org/licenses/gpl-license.php
10
 
@@ -52,6 +52,11 @@ Read how to [create a chart](http://visualizer.madpixels.net/knowledgebase/how-c
52
 
53
  == Changelog ==
54
 
 
 
 
 
 
55
  = 1.1.4 =
56
  * Bug with float values has been fixed.
57
 
4
  Tags: chart, charts, charting, graph, graphs, graphing, visualisation, visualise data, visualization, visualize data, HTML5, canvas, pie chart, line chart, bar chart, column chart, gauge chart, area chart, scatter chart, candlestick chart, geo chart, google visualization api
5
  Requires at least: 3.5
6
  Tested up to: 3.6
7
+ Stable tag: 1.2.0
8
  License: GPL v2.0 or later
9
  License URI: http://www.opensource.org/licenses/gpl-license.php
10
 
52
 
53
  == Changelog ==
54
 
55
+ = 1.2.0 =
56
+ * Implemented minor grid lines settings.
57
+ * Implemented view window settings.
58
+ * Horizontal and vertical axes settings were split into separate groups.
59
+
60
  = 1.1.4 =
61
  * Bug with float values has been fixed.
62