Skip to content

Commit 53061bb

Browse files
more relevant text headings
1 parent bc717d8 commit 53061bb

File tree

4 files changed

+10
-14
lines changed

4 files changed

+10
-14
lines changed

classes/Visualizer/Render/Sidebar.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,8 @@ protected function _renderTooltipSettigns() {
438438
* @access protected
439439
*/
440440
protected function _renderViewSettings() {
441-
self::_renderGroupStart( esc_html__( 'Layout & Chart Area', 'visualizer' ) );
442-
self::_renderSectionStart( esc_html__( 'Layout', 'visualizer' ), false );
441+
self::_renderGroupStart( esc_html__( 'Chart Size & Placement', 'visualizer' ) );
442+
self::_renderSectionStart( esc_html__( 'Chart Size/Layout', 'visualizer' ), false );
443443
self::_renderSectionDescription( esc_html__( 'Configure the total size of the chart. Two formats are supported: a number, or a number followed by %. A simple number is a value in pixels; a number followed by % is a percentage.', 'visualizer' ) );
444444

445445
echo '<div class="viz-section-item">';
@@ -458,7 +458,7 @@ protected function _renderViewSettings() {
458458
echo '</table>';
459459

460460
echo '<p class="viz-section-description">';
461-
esc_html_e( 'Determines the total width and height of the chart.', 'visualizer' );
461+
esc_html_e( 'Determines the total width and height of the chart. This will only show in the front-end.', 'visualizer' );
462462
echo '</p>';
463463
echo '</div>';
464464

@@ -497,7 +497,7 @@ protected function _renderViewSettings() {
497497
echo '</div>';
498498
self::_renderSectionEnd();
499499

500-
self::_renderSectionStart( esc_html__( 'Chart Area', 'visualizer' ), false );
500+
self::_renderSectionStart( esc_html__( 'Placement', 'visualizer' ), false );
501501
self::_renderSectionDescription( esc_html__( 'Configure the placement and size of the chart area (where the chart itself is drawn, excluding axis and legends). Two formats are supported: a number, or a number followed by %. A simple number is a value in pixels; a number followed by % is a percentage.', 'visualizer' ) );
502502

503503
echo '<div class="viz-section-item">';

classes/Visualizer/Render/Sidebar/ChartJS.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -355,8 +355,8 @@ protected function _renderManualConfigDescription() {
355355
* @access protected
356356
*/
357357
protected function _renderViewSettings() {
358-
self::_renderGroupStart( esc_html__( 'Chart Area', 'visualizer' ) );
359-
self::_renderSectionStart( esc_html__( 'Area', 'visualizer' ), false );
358+
self::_renderGroupStart( esc_html__( 'Chart Size', 'visualizer' ) );
359+
self::_renderSectionStart();
360360
self::_renderSectionDescription( esc_html__( 'Configure the total size of the chart. Two formats are supported: a number, or a number followed by %. A simple number is a value in pixels; a number followed by % is a percentage.', 'visualizer' ) );
361361

362362
echo '<div class="viz-section-item">';
@@ -378,11 +378,7 @@ protected function _renderViewSettings() {
378378
esc_html_e( 'Determines the total width and height of the chart. This will only show in the front-end.', 'visualizer' );
379379
echo '</p>';
380380
echo '</div>';
381-
382-
echo '<div class="viz-section-delimiter"></div>';
383-
384381
self::_renderSectionEnd();
385-
386382
self::_renderGroupEnd();
387383
}
388384
}

classes/Visualizer/Render/Sidebar/Type/GoogleCharts/Gauge.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ protected function _renderRedColorSettings() {
254254
* @access protected
255255
*/
256256
protected function _renderViewSettings() {
257-
self::_renderGroupStart( esc_html__( 'Layout & Chart Area', 'visualizer' ) );
257+
self::_renderGroupStart( esc_html__( 'Chart Size', 'visualizer' ) );
258258
self::_renderSectionStart();
259259
self::_renderSectionDescription( esc_html__( 'Configure the total size of the chart. Two formats are supported: a number, or a number followed by %. A simple number is a value in pixels; a number followed by % is a percentage.', 'visualizer' ) );
260260

@@ -274,7 +274,7 @@ protected function _renderViewSettings() {
274274
echo '</table>';
275275

276276
echo '<p class="viz-section-description">';
277-
esc_html_e( 'Determines the total width and height of the chart.', 'visualizer' );
277+
esc_html_e( 'Determines the total width and height of the chart. This will only show in the front-end.', 'visualizer' );
278278
echo '</p>';
279279
echo '</div>';
280280
self::_renderSectionEnd();

classes/Visualizer/Render/Sidebar/Type/GoogleCharts/Geo.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ protected function _renderMagnifyingGlassSettings() {
358358
* @access protected
359359
*/
360360
protected function _renderViewSettings() {
361-
self::_renderGroupStart( esc_html__( 'Layout Settings', 'visualizer' ) );
361+
self::_renderGroupStart( esc_html__( 'Chart Size', 'visualizer' ) );
362362
self::_renderSectionStart();
363363
self::_renderSectionDescription( esc_html__( 'Configure the total size of the chart. Two formats are supported: a number, or a number followed by %. A simple number is a value in pixels; a number followed by % is a percentage.', 'visualizer' ) );
364364

@@ -378,7 +378,7 @@ protected function _renderViewSettings() {
378378
echo '</table>';
379379

380380
echo '<p class="viz-section-description">';
381-
esc_html_e( 'Determines the total width and height of the chart.', 'visualizer' );
381+
esc_html_e( 'Determines the total width and height of the chart. This will only show in the front-end.', 'visualizer' );
382382
echo '</p>';
383383
echo '</div>';
384384

0 commit comments

Comments
 (0)