Skip to content

Commit b5a98ee

Browse files
gridlines.count shows same behavior with values of 0 and 1
1 parent 1ee4031 commit b5a98ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

classes/Visualizer/Render/Sidebar/Graph.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ protected function _renderHorizontalAxisSettings() {
196196
esc_html__( 'Count', 'visualizer' ),
197197
'hAxis[gridlines][count]',
198198
isset( $this->hAxis['gridlines']['count'] ) ? $this->hAxis['gridlines']['count'] : '',
199-
esc_html__( 'The approximate number of horizontal gridlines inside the chart area. You can specify a value of 1 to only draw one gridline, 0 to draw no gridlines or -1 to automatically compute the number of gridlines. Any other number will be used to compute the minSpacing between gridlines.', 'visualizer' ),
199+
esc_html__( 'The approximate number of horizontal gridlines inside the chart area. You can specify a value of -1 to automatically compute the number of gridlines, 0 or 1 to draw no gridlines, or 2 or more to only draw gridline. Any number greater than 2 will be used to compute the minSpacing between gridlines.', 'visualizer' ),
200200
5,
201201
'number',
202202
array( 'min' => -1, 'max' => 1000, 'step' => 1 )
@@ -312,7 +312,7 @@ protected function _renderVerticalAxisSettings() {
312312
esc_html__( 'Count', 'visualizer' ),
313313
'vAxis[gridlines][count]',
314314
isset( $this->vAxis['gridlines']['count'] ) ? $this->vAxis['gridlines']['count'] : '',
315-
esc_html__( 'The approximate number of vertical gridlines inside the chart area. You can specify a value of 1 to only draw one gridline, 0 to draw no gridlines or -1 to automatically compute the number of gridlines. Any other number will be used to compute the minSpacing between gridlines.', 'visualizer' ),
315+
esc_html__( 'The approximate number of vertical gridlines inside the chart area. You can specify a value of -1 to automatically compute the number of gridlines, 0 or 1 to draw no gridlines, or 2 or more to only draw gridline. Any number greater than 2 will be used to compute the minSpacing between gridlines.', 'visualizer' ),
316316
5,
317317
'number',
318318
array( 'min' => -1, 'max' => 1000, 'step' => 1 )

0 commit comments

Comments
 (0)