Skip to content

Commit bad7f16

Browse files
Axis Text Position is reversed #313
1 parent eb8e5d2 commit bad7f16

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

classes/Visualizer/Render/Sidebar/Graph.php

Lines changed: 4 additions & 4 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
);
@@ -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
);

0 commit comments

Comments
 (0)