| @@ -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(); |
| @@ -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 | } |