コード例 #1
0
ファイル: Area.php プロジェクト: probono-dauty/wordpress
 /**
  * Renders line settings items.
  *
  * @since 1.0.0
  *
  * @access protected
  */
 protected function _renderLineSettingsItems()
 {
     parent::_renderLineSettingsItems();
     self::_renderTextItem(esc_html__('Area Opacity', Visualizer_Plugin::NAME), 'areaOpacity', $this->areaOpacity, esc_html__('The default opacity of the colored area under an area chart series, where 0.0 is fully transparent and 1.0 is fully opaque. To specify opacity for an individual series, set the area opacity value in the series property.', Visualizer_Plugin::NAME), '0.3');
     echo '<div class="section-delimiter"></div>';
     self::_renderSelectItem(esc_html__('Is Stacked', Visualizer_Plugin::NAME), 'isStacked', $this->isStacked, $this->_yesno, esc_html__('If set to yes, series elements are stacked.', Visualizer_Plugin::NAME));
 }
コード例 #2
0
 /**
  * Constructor.
  *
  * @since 1.0.0
  *
  * @access public
  * @param array $data The data what has to be associated with this render.
  */
 public function __construct($data = array())
 {
     parent::__construct($data);
     // disable focus target option
     $this->_includeFocusTarget = false;
 }
コード例 #3
0
 /**
  * Renders line settings items.
  *
  * @since 1.4.0
  *
  * @access protected
  */
 protected function _renderLineSettingsItems()
 {
     parent::_renderLineSettingsItems();
     echo '<div class="section-delimiter"></div>';
     self::_renderSelectItem(esc_html__('Interpolate Nulls', 'visualizer'), 'interpolateNulls', $this->interpolateNulls, $this->_yesno, esc_html__('Whether to guess the value of missing points. If yes, it will guess the value of any missing data based on neighboring points. If no, it will leave a break in the line at the unknown point.', 'visualizer'));
 }