[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/yuilib/3.17.2/series-marker-stacked/ -> series-marker-stacked.js (source)

   1  /*
   2  YUI 3.17.2 (build 9c3c78e)
   3  Copyright 2014 Yahoo! Inc. All rights reserved.
   4  Licensed under the BSD License.
   5  http://yuilibrary.com/license/
   6  */
   7  
   8  YUI.add('series-marker-stacked', function (Y, NAME) {
   9  
  10  /**
  11   * Provides functionality for creating a stacked marker series.
  12   *
  13   * @module charts
  14   * @submodule series-marker-stacked
  15   */
  16  /**
  17   * StackedMarkerSeries plots markers with different series stacked along the value axis to indicate each
  18   * series' contribution to a cumulative total.
  19   *
  20   * @class StackedMarkerSeries
  21   * @constructor
  22   * @extends MarkerSeries
  23   * @uses StackingUtil
  24   * @param {Object} config (optional) Configuration parameters.
  25   * @submodule series-marker-stacked
  26   */
  27  Y.StackedMarkerSeries = Y.Base.create("stackedMarkerSeries", Y.MarkerSeries, [Y.StackingUtil], {
  28      /**
  29       * @protected
  30       *
  31       * Calculates the coordinates for the series. Overrides base implementation.
  32       *
  33       * @method setAreaData
  34       */
  35      setAreaData: function()
  36      {
  37          Y.StackedMarkerSeries.superclass.setAreaData.apply(this);
  38          this._stackCoordinates.apply(this);
  39      }
  40  }, {
  41      ATTRS: {
  42          /**
  43           * Read-only attribute indicating the type of series.
  44           *
  45           * @attribute type
  46           * @type String
  47           * @default stackedMarker
  48           */
  49          type: {
  50              value:"stackedMarker"
  51          }
  52      }
  53  });
  54  
  55  
  56  
  57  }, '3.17.2', {"requires": ["series-stacked", "series-marker"]});


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1