Skip to content

Commit b39359e

Browse files
Merge pull request #332 from contactashish13/issue-312
Some chart options don't work correctly
2 parents 881d354 + 96a4e9b commit b39359e

File tree

7 files changed

+37
-20
lines changed

7 files changed

+37
-20
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11

2+
### v3.1.0 - 2018-12-03
3+
**Changes:**
4+
* Add Table chart
5+
* Fix date format in sample files
6+
27
### v3.0.12 - 2018-10-11
38
**Changes:**
49
* Added filter to enable users to change schedule of charts.

classes/Visualizer/Render/Sidebar/Graph.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ protected function _renderHorizontalAxisGeneralSettings() {
141141

142142
self::_renderSelectItem(
143143
esc_html__( 'Text Position', 'visualizer' ),
144-
'vAxis[textPosition]',
145-
isset( $this->vAxis['textPosition'] ) ? $this->vAxis['textPosition'] : '',
144+
'hAxis[textPosition]',
145+
isset( $this->hAxis['textPosition'] ) ? $this->hAxis['textPosition'] : '',
146146
$this->_positions,
147147
esc_html__( 'Position of the horizontal axis text, relative to the chart area.', 'visualizer' )
148148
);
@@ -184,16 +184,16 @@ protected function _renderHorizontalAxisSettings() {
184184
self::_renderSectionStart( esc_html__( 'Grid Lines', 'visualizer' ), false );
185185
self::_renderTextItem(
186186
esc_html__( 'Count', 'visualizer' ),
187-
'vAxis[gridlines][count]',
188-
isset( $this->vAxis['gridlines']['count'] ) ? $this->vAxis['gridlines']['count'] : '',
189-
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' ),
187+
'hAxis[gridlines][count]',
188+
isset( $this->hAxis['gridlines']['count'] ) ? $this->hAxis['gridlines']['count'] : '',
189+
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' ),
190190
5
191191
);
192192

193193
self::_renderColorPickerItem(
194194
esc_html__( 'Color', 'visualizer' ),
195-
'vAxis[gridlines][color]',
196-
isset( $this->vAxis['gridlines']['color'] ) ? $this->vAxis['gridlines']['color'] : null,
195+
'hAxis[gridlines][color]',
196+
isset( $this->hAxis['gridlines']['color'] ) ? $this->hAxis['gridlines']['color'] : null,
197197
'#ccc'
198198
);
199199
self::_renderSectionEnd();
@@ -253,8 +253,8 @@ protected function _renderVerticalAxisGeneralSettings() {
253253

254254
self::_renderSelectItem(
255255
esc_html__( 'Text Position', 'visualizer' ),
256-
'hAxis[textPosition]',
257-
isset( $this->hAxis['textPosition'] ) ? $this->hAxis['textPosition'] : '',
256+
'vAxis[textPosition]',
257+
isset( $this->vAxis['textPosition'] ) ? $this->vAxis['textPosition'] : '',
258258
$this->_positions,
259259
esc_html__( 'Position of the vertical axis text, relative to the chart area.', 'visualizer' )
260260
);
@@ -296,16 +296,16 @@ protected function _renderVerticalAxisSettings() {
296296
self::_renderSectionStart( esc_html__( 'Grid Lines', 'visualizer' ), false );
297297
self::_renderTextItem(
298298
esc_html__( 'Count', 'visualizer' ),
299-
'hAxis[gridlines][count]',
300-
isset( $this->hAxis['gridlines']['count'] ) ? $this->hAxis['gridlines']['count'] : '',
301-
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' ),
299+
'vAxis[gridlines][count]',
300+
isset( $this->vAxis['gridlines']['count'] ) ? $this->vAxis['gridlines']['count'] : '',
301+
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' ),
302302
5
303303
);
304304

305305
self::_renderColorPickerItem(
306306
esc_html__( 'Color', 'visualizer' ),
307-
'hAxis[gridlines][color]',
308-
isset( $this->hAxis['gridlines']['color'] ) ? $this->hAxis['gridlines']['color'] : null,
307+
'vAxis[gridlines][color]',
308+
isset( $this->vAxis['gridlines']['color'] ) ? $this->vAxis['gridlines']['color'] : null,
309309
'#ccc'
310310
);
311311
self::_renderSectionEnd();

classes/Visualizer/Render/Sidebar/Type/Gauge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function _renderGeneralSettings() {
8080
);
8181
self::_renderSectionEnd();
8282

83-
self::_renderSectionStart( esc_html__( 'Gauge Settings', 'visualizer' ), false );
83+
self::_renderGroupEnd();
8484
}
8585

8686
/**

classes/Visualizer/Render/Sidebar/Type/Pie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ protected function _renderSlicesSettings() {
186186
self::_renderTextItem(
187187
esc_html__( 'Slice Offset', 'visualizer' ),
188188
'slices[' . $i . '][offset]',
189-
isset( $this->slices[ $i ]['color'] ) ? $this->slices[ $i ]['color'] : null,
189+
isset( $this->slices[ $i ]['offset'] ) ? $this->slices[ $i ]['offset'] : null,
190190
esc_html__( "How far to separate the slice from the rest of the pie, from 0.0 (not at all) to 1.0 (the pie's radius).", 'visualizer' ),
191191
'0.0'
192192
);

readme.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Visualizer: Tables and Charts Manager for WordPress (Lite) #
1+
# Visualizer: Tables and Charts Manager for WordPress (Lite) # #
22
**Contributors:** [codeinwp](https://profiles.wordpress.org/codeinwp), [marius2012](https://profiles.wordpress.org/marius2012), [marius_codeinwp](https://profiles.wordpress.org/marius_codeinwp), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani), [themeisle](https://profiles.wordpress.org/themeisle), [Madalin_ThemeIsle](https://profiles.wordpress.org/Madalin_ThemeIsle), [rozroz](https://profiles.wordpress.org/rozroz)
3-
**Tags:** chart, charts, charting, graph, graphs, graphing, visualisation, visualise data, visualization, visualize data, HTML5, canvas, pie chart, line chart, bar chart, column chart, gauge chart, area chart, scatter chart, candlestick chart, geo chart, google visualization api, data tables
3+
**Tags:** chart, charts, charting, graph, graphs, graphing, visualisation, visualise data, visualization, visualize data, HTML5, canvas, pie chart, line chart, bar chart, column chart, gauge chart, area chart, scatter chart, candlestick chart, geo chart, google visualization api, data tables
44
**Requires at least:** 3.5
55
**Tested up to:** 4.9
66
**Stable tag:** trunk
@@ -31,7 +31,7 @@ The plugin uses Google Visualization API and DataTables.net to add responsive &
3131
> **[Learn more about Visualizer PRO](http://themeisle.com/plugins/visualizer-charts-and-graphs/)**
3232
3333

34-
### 10 Chart types + 2 more in the pro version ###
34+
### 9 Chart types + 3 more in the pro version ###
3535
This WordPress graph plugin provides a variety of charts that are optimized to address your WordPress data visualization needs. It is line chart,flow chart, area chart, bar chart, column chart, pie chart, geo chart, gauge chart, candlestick chart and scatter chart. These charts are based on pure HTML5/SVG technology (adopting VML for old IE versions), so no extra plugins are required. Adding these charts to your page can be done in a few simple steps. The premium version can act as a interactive WordPress Table plugin, with sorting capabilities.
3636

3737
### Flexible and customizable ###
@@ -145,6 +145,12 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
145145
5. Charts library
146146

147147
## Changelog ##
148+
### 3.1.0 - 2018-12-03 ###
149+
150+
* Add Table chart
151+
* Fix date format in sample files
152+
153+
148154
### 3.0.12 - 2018-10-11 ###
149155

150156
* Added filter to enable users to change schedule of charts.

readme.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have `
145145
5. Charts library
146146

147147
== Changelog ==
148+
= 3.1.0 - 2018-12-03 =
149+
150+
* Add Table chart
151+
* Fix date format in sample files
152+
153+
148154
= 3.0.12 - 2018-10-11 =
149155

150156
* Added filter to enable users to change schedule of charts.

themeisle-hash.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"index.php":"aa14efd8b347685777b18d03bbba0841"}
1+
{"index.php":"d1936dc596b23651d67149e3fcf4fe67"}

0 commit comments

Comments
 (0)