| @@ -121,8 +121,18 @@ | ||
| 121 | 121 | $this->axisTitlesPosition, |
| 122 | 122 | $this->_positions, |
| 123 | 123 | esc_html__( 'Determines where to place the axis titles, compared to the chart area.', 'visualizer' ) |
| 124 | 124 | ); |
| 125 | + | |
| 126 | + echo '<div class="viz-section-delimiter"></div>'; | |
| 127 | + | |
| 128 | + self::_renderTextAreaItem( | |
| 129 | + esc_html__( 'Chart Description', 'visualizer' ), | |
| 130 | + 'description', | |
| 131 | + $this->description, | |
| 132 | + sprintf( esc_html__( 'Description to display in the structured data schema as explained %1$shere%2$s', 'visualizer' ), '<a href="https://developers.google.com/search/docs/data-types/dataset#dataset" target="_blank">', '</a>' ) | |
| 133 | + ); | |
| 134 | + | |
| 125 | 135 | } |
| 126 | 136 | |
| 127 | 137 | /** |
| 128 | 138 | * Renders general settings block for horizontal axis settings. |
| @@ -368,8 +378,12 @@ | ||
| 368 | 378 | * @access protected |
| 369 | 379 | */ |
| 370 | 380 | protected function _renderSeriesSettings() { |
| 371 | 381 | self::_renderGroupStart( esc_html__( 'Series Settings', 'visualizer' ) ); |
| 382 | + self::_renderSectionStart(); | |
| 383 | + self::_renderSectionDescription( esc_html__( 'If you have just updated/modified the chart data, you may need to save it before the new data reflects in the settings.', 'visualizer' ), 'viz-info-msg' ); | |
| 384 | + self::_renderSectionEnd(); | |
| 385 | + | |
| 372 | 386 | for ( $i = 1, $cnt = count( $this->__series ); $i < $cnt; $i++ ) { |
| 373 | 387 | if ( ! empty( $this->__series[ $i ]['label'] ) ) { |
| 374 | 388 | self::_renderSectionStart( esc_html( $this->__series[ $i ]['label'] ), false ); |
| 375 | 389 | $this->_renderSeries( $i - 1 ); |