| @@ -12,19 +12,8 @@ | ||
| 12 | 12 | */ |
| 13 | 13 | abstract class Visualizer_Render_Sidebar_ChartJS extends Visualizer_Render_Sidebar { |
| 14 | 14 | |
| 15 | 15 | /** |
| 16 | - * The array of available legend positions. | |
| 17 | - * | |
| 18 | - * @since 1.0.0 | |
| 19 | - * | |
| 20 | - * @access protected | |
| 21 | - * @var array | |
| 22 | - */ | |
| 23 | - protected $_legendPositions; | |
| 24 | - | |
| 25 | - | |
| 26 | - /** | |
| 27 | 16 | * The constructor. |
| 28 | 17 | */ |
| 29 | 18 | public function __construct( $data = array() ) { |
| 30 | 19 | $this->_library = 'chartjs'; |
| @@ -34,10 +23,8 @@ | ||
| 34 | 23 | 'left' => esc_html__( 'Left of the chart', 'visualizer' ), |
| 35 | 24 | 'right' => esc_html__( 'Right of the chart', 'visualizer' ), |
| 36 | 25 | 'top' => esc_html__( 'Above the chart', 'visualizer' ), |
| 37 | 26 | 'bottom' => esc_html__( 'Below the chart', 'visualizer' ), |
| 38 | - 'bottom' => esc_html__( 'Below the chart', 'visualizer' ), | |
| 39 | - 'none' => esc_html__( 'Omit the legend', 'visualizer' ), | |
| 40 | 27 | ); |
| 41 | 28 | |
| 42 | 29 | } |
| 43 | 30 | |
| @@ -296,25 +283,8 @@ | ||
| 296 | 283 | $this->_renderTooltipSettigns(); |
| 297 | 284 | self::_renderSectionEnd(); |
| 298 | 285 | |
| 299 | 286 | $this->_renderAnimationSettings(); |
| 300 | - | |
| 301 | - self::_renderSectionStart( esc_html__( 'License & Creator', 'visualizer' ), false ); | |
| 302 | - self::_renderTextItem( | |
| 303 | - esc_html__( 'License', 'visualizer' ), | |
| 304 | - 'license', | |
| 305 | - $this->license, | |
| 306 | - '' | |
| 307 | - ); | |
| 308 | - self::_renderTextItem( | |
| 309 | - esc_html__( 'Creator', 'visualizer' ), | |
| 310 | - 'creator', | |
| 311 | - $this->creator, | |
| 312 | - '' | |
| 313 | - ); | |
| 314 | - self::_renderSectionEnd(); | |
| 315 | - | |
| 316 | - self::_renderChartImageSettings(); | |
| 317 | 287 | |
| 318 | 288 | self::_renderGroupEnd(); |
| 319 | 289 | } |
| 320 | 290 | |