| @@ -90,10 +90,18 @@ | ||
| 90 | 90 | * @since 1.4.0 |
| 91 | 91 | * |
| 92 | 92 | * @access protected |
| 93 | 93 | */ |
| 94 | - protected function _renderHorizontalAxisGeneratSettings() { | |
| 95 | - parent::_renderHorizontalAxisGeneratSettings(); | |
| 94 | + protected function _renderHorizontalAxisGeneralSettings() { | |
| 95 | + parent::_renderHorizontalAxisGeneralSettings(); | |
| 96 | + | |
| 97 | + self::_renderColorPickerItem( | |
| 98 | + esc_html__( 'Axis Text Color', Visualizer_Plugin::NAME ), | |
| 99 | + 'vAxis[textStyle]', | |
| 100 | + isset( $this->vAxis['textStyle'] ) ? $this->vAxis['textStyle'] : null, | |
| 101 | + '#000' | |
| 102 | + ); | |
| 103 | + | |
| 96 | 104 | $this->_renderHorizontalAxisFormatField(); |
| 97 | 105 | } |
| 98 | 106 | |
| 99 | 107 | /** |
| @@ -104,8 +112,16 @@ | ||
| 104 | 112 | * @access protected |
| 105 | 113 | */ |
| 106 | 114 | protected function _renderVerticalAxisGeneralSettings() { |
| 107 | 115 | parent::_renderVerticalAxisGeneralSettings(); |
| 116 | + | |
| 117 | + self::_renderColorPickerItem( | |
| 118 | + esc_html__( 'Axis Text Color', Visualizer_Plugin::NAME ), | |
| 119 | + 'hAxis[textStyle]', | |
| 120 | + isset( $this->hAxis['textStyle'] ) ? $this->hAxis['textStyle'] : null, | |
| 121 | + '#000' | |
| 122 | + ); | |
| 123 | + | |
| 108 | 124 | $this->_renderVerticalAxisFormatField(); |
| 109 | 125 | } |
| 110 | 126 | |
| 111 | 127 | /** |