| @@ -93,10 +93,10 @@ | ||
| 93 | 93 | parent::_renderHorizontalAxisGeneralSettings(); |
| 94 | 94 | |
| 95 | 95 | self::_renderColorPickerItem( |
| 96 | 96 | esc_html__( 'Axis Text Color', 'visualizer' ), |
| 97 | - 'vAxis[textStyle]', | |
| 98 | - isset( $this->vAxis['textStyle'] ) ? $this->vAxis['textStyle'] : null, | |
| 97 | + 'hAxis[textStyle]', | |
| 98 | + isset( $this->hAxis['textStyle'] ) ? $this->hAxis['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 | - 'hAxis[textStyle]', | |
| 118 | - isset( $this->hAxis['textStyle'] ) ? $this->hAxis['textStyle'] : null, | |
| 117 | + 'vAxis[textStyle]', | |
| 118 | + isset( $this->vAxis['textStyle'] ) ? $this->vAxis['textStyle'] : null, | |
| 119 | 119 | '#000' |
| 120 | 120 | ); |
| 121 | 121 | |
| 122 | 122 | $this->_renderVerticalAxisFormatField(); |
| @@ -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" value="', esc_attr( $line_width ), '" placeholder="2">'; | |
| 260 | + echo '<input type="text" name="series[', $index, '][lineWidth]" class="control-text series-linewidth" 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,7 +288,10 @@ | ||
| 288 | 288 | 'series[' . $index . '][color]', |
| 289 | 289 | isset( $this->series[ $index ]['color'] ) ? $this->series[ $index ]['color'] : null, |
| 290 | 290 | null |
| 291 | 291 | ); |
| 292 | + | |
| 293 | + $this->_renderRoleField( $index ); | |
| 294 | + | |
| 292 | 295 | } |
| 293 | 296 | |
| 294 | 297 | } |