| @@ -149,33 +149,8 @@ | ||
| 149 | 149 | esc_html__( 'The title of the horizontal axis.', 'visualizer' ) |
| 150 | 150 | ); |
| 151 | 151 | |
| 152 | 152 | self::_renderSelectItem( |
| 153 | - esc_html__( 'Slanted Text', 'visualizer' ), | |
| 154 | - 'hAxis[slantedText]', | |
| 155 | - isset( $this->hAxis['slantedText'] ) ? $this->hAxis['slantedText'] : false, | |
| 156 | - array( | |
| 157 | - false => 'False', | |
| 158 | - true => 'True', | |
| 159 | - ), | |
| 160 | - '', | |
| 161 | - false | |
| 162 | - ); | |
| 163 | - | |
| 164 | - self::_renderTextItem( | |
| 165 | - esc_html__( 'Slanted Text Angle', 'visualizer' ), | |
| 166 | - 'hAxis[slantedTextAngle]', | |
| 167 | - isset( $this->hAxis['slantedTextAngle'] ) ? $this->hAxis['slantedTextAngle'] : 45, | |
| 168 | - '', | |
| 169 | - 45, | |
| 170 | - 'number', | |
| 171 | - array( | |
| 172 | - 'min' => 1, | |
| 173 | - 'step' => 15, | |
| 174 | - ) | |
| 175 | - ); | |
| 176 | - | |
| 177 | - self::_renderSelectItem( | |
| 178 | 153 | esc_html__( 'Text Position', 'visualizer' ), |
| 179 | 154 | 'hAxis[textPosition]', |
| 180 | 155 | isset( $this->hAxis['textPosition'] ) ? $this->hAxis['textPosition'] : '', |
| 181 | 156 | $this->_positions, |
| @@ -241,9 +216,9 @@ | ||
| 241 | 216 | isset( $this->hAxis['minorGridlines']['count'] ) ? $this->hAxis['minorGridlines']['count'] : '', |
| 242 | 217 | esc_html__( 'Specify 0 to disable the minor gridlines.', 'visualizer' ), |
| 243 | 218 | 0, |
| 244 | 219 | 'number', |
| 245 | - array( 'min' => 0, 'step' => 1 ) | |
| 220 | + array( 'min' => 0, 'max' => 1, 'step' => 1 ) | |
| 246 | 221 | ); |
| 247 | 222 | |
| 248 | 223 | self::_renderColorPickerItem( |
| 249 | 224 | esc_html__( 'Color', 'visualizer' ), |
| @@ -357,9 +332,9 @@ | ||
| 357 | 332 | isset( $this->vAxis['minorGridlines']['count'] ) ? $this->vAxis['minorGridlines']['count'] : '', |
| 358 | 333 | esc_html__( 'Specify 0 to disable the minor gridlines.', 'visualizer' ), |
| 359 | 334 | 0, |
| 360 | 335 | 'number', |
| 361 | - array( 'min' => 0, 'step' => 1 ) | |
| 336 | + array( 'min' => 0, 'max' => 1, 'step' => 1 ) | |
| 362 | 337 | ); |
| 363 | 338 | |
| 364 | 339 | self::_renderColorPickerItem( |
| 365 | 340 | esc_html__( 'Color', 'visualizer' ), |
| @@ -480,9 +455,9 @@ | ||
| 480 | 455 | '</a>' |
| 481 | 456 | ), |
| 482 | 457 | sprintf( |
| 483 | 458 | esc_html__( 'For date axis labels, this is a subset of the date formatting %1$sICU date and time format%2$s.', 'visualizer' ), |
| 484 | - '<a href="https://unicode-org.github.io/icu/userguide/format_parse/datetime/#datetime-format-syntax" target="_blank">', | |
| 459 | + '<a href="http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax" target="_blank">', | |
| 485 | 460 | '</a>' |
| 486 | 461 | ) |
| 487 | 462 | ) |
| 488 | 463 | ); |
| @@ -509,9 +484,9 @@ | ||
| 509 | 484 | '</a>' |
| 510 | 485 | ), |
| 511 | 486 | sprintf( |
| 512 | 487 | esc_html__( 'For date axis labels, this is a subset of the date formatting %1$sICU date and time format%2$s.', 'visualizer' ), |
| 513 | - '<a href="https://unicode-org.github.io/icu/userguide/format_parse/datetime/#datetime-format-syntax" target="_blank">', | |
| 488 | + '<a href="http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax" target="_blank">', | |
| 514 | 489 | '</a>' |
| 515 | 490 | ) |
| 516 | 491 | ) |
| 517 | 492 | ); |