| @@ -93,10 +93,10 @@ | ||
| 93 | 93 | parent::_renderHorizontalAxisGeneralSettings(); |
| 94 | 94 | |
| 95 | 95 | self::_renderColorPickerItem( |
| 96 | 96 | esc_html__( 'Axis Text Color', 'visualizer' ), |
| 97 | - 'hAxis[textStyle]', | |
| 98 | - isset( $this->hAxis['textStyle'] ) ? $this->hAxis['textStyle'] : null, | |
| 97 | + 'vAxis[textStyle]', | |
| 98 | + isset( $this->vAxis['textStyle'] ) ? $this->vAxis['textStyle'] : null, | |
| 99 | 99 | '#000' |
| 100 | 100 | ); |
| 101 | 101 | |
| 102 | 102 | $this->_renderHorizontalAxisFormatField(); |
| @@ -113,10 +113,10 @@ | ||
| 113 | 113 | parent::_renderVerticalAxisGeneralSettings(); |
| 114 | 114 | |
| 115 | 115 | self::_renderColorPickerItem( |
| 116 | 116 | esc_html__( 'Axis Text Color', 'visualizer' ), |
| 117 | - 'vAxis[textStyle]', | |
| 118 | - isset( $this->vAxis['textStyle'] ) ? $this->vAxis['textStyle'] : null, | |
| 117 | + 'hAxis[textStyle]', | |
| 118 | + isset( $this->hAxis['textStyle'] ) ? $this->hAxis['textStyle'] : null, | |
| 119 | 119 | '#000' |
| 120 | 120 | ); |
| 121 | 121 | |
| 122 | 122 | $this->_renderVerticalAxisFormatField(); |
| @@ -184,13 +184,13 @@ | ||
| 184 | 184 | '' => '', |
| 185 | 185 | 'single' => esc_html__( 'Single data point', 'visualizer' ), |
| 186 | 186 | 'multiple' => esc_html__( 'Multiple data points', 'visualizer' ), |
| 187 | 187 | ), |
| 188 | - esc_html__( 'Determines how many data points a user can select on a chart.', 'visualizer' ) | |
| 188 | + esc_html__( 'Determines how many data points an user can select on a chart.', 'visualizer' ) | |
| 189 | 189 | ); |
| 190 | 190 | |
| 191 | 191 | self::_renderSelectItem( |
| 192 | - esc_html__( 'Group Tooltips By', 'visualizer' ), | |
| 192 | + esc_html__( 'Aggregation Target', 'visualizer' ), | |
| 193 | 193 | 'aggregationTarget', |
| 194 | 194 | $this->aggregationTarget, |
| 195 | 195 | array( |
| 196 | 196 | '' => '', |
| @@ -198,9 +198,9 @@ | ||
| 198 | 198 | 'series' => esc_html__( 'Group selected data by series', 'visualizer' ), |
| 199 | 199 | 'auto' => esc_html__( 'Group selected data by x-value if all selections have the same x-value, and by series otherwise', 'visualizer' ), |
| 200 | 200 | 'none' => esc_html__( 'Show only one tooltip per selection', 'visualizer' ), |
| 201 | 201 | ), |
| 202 | - esc_html__( 'Determines how multiple data selections are rolled up into tooltips. To make it work, you need to set multiple selection mode and tooltip trigger to display it when a user selects an element.', 'visualizer' ) | |
| 202 | + esc_html__( 'Determines how multiple data selections are rolled up into tooltips. To make it working you need to set multiple selection mode and tooltip trigger to display it when an user selects an element.', 'visualizer' ) | |
| 203 | 203 | ); |
| 204 | 204 | |
| 205 | 205 | echo '<div class="viz-section-delimiter"></div>'; |
| 206 | 206 | |
| @@ -256,9 +256,9 @@ | ||
| 256 | 256 | echo '<table class="viz-section-table" cellspacing="0" cellpadding="0" border="0">'; |
| 257 | 257 | echo '<tr>'; |
| 258 | 258 | echo '<td class="viz-section-table-column">'; |
| 259 | 259 | $line_width = isset( $this->series[ $index ]['lineWidth'] ) ? $this->series[ $index ]['lineWidth'] : ''; |
| 260 | - echo '<input type="text" name="series[', $index, '][lineWidth]" class="control-text series-linewidth" value="', esc_attr( $line_width ), '" placeholder="2">'; | |
| 260 | + echo '<input type="text" name="series[', $index, '][lineWidth]" class="control-text" value="', esc_attr( $line_width ), '" placeholder="2">'; | |
| 261 | 261 | echo '</td>'; |
| 262 | 262 | echo '<td class="viz-section-table-column">'; |
| 263 | 263 | $point_size = isset( $this->series[ $index ]['pointSize'] ) ? $this->series[ $index ]['pointSize'] : ''; |
| 264 | 264 | echo '<input type="text" name="series[', $index, '][pointSize]" class="control-text" value="', esc_attr( $point_size ), '" placeholder="0">'; |
| @@ -288,8 +288,7 @@ | ||
| 288 | 288 | 'series[' . $index . '][color]', |
| 289 | 289 | isset( $this->series[ $index ]['color'] ) ? $this->series[ $index ]['color'] : null, |
| 290 | 290 | null |
| 291 | 291 | ); |
| 292 | + } | |
| 292 | 293 | |
| 293 | - $this->_renderRoleField( $index ); | |
| 294 | - } | |
| 295 | 294 | } |