Version 3.18.1
Show:

File: charts/js/StackedMarkerSeries.js

  1. /**
  2. * Provides functionality for creating a stacked marker series.
  3. *
  4. * @module charts
  5. * @submodule series-marker-stacked
  6. */
  7. /**
  8. * StackedMarkerSeries plots markers with different series stacked along the value axis to indicate each
  9. * series' contribution to a cumulative total.
  10. *
  11. * @class StackedMarkerSeries
  12. * @constructor
  13. * @extends MarkerSeries
  14. * @uses StackingUtil
  15. * @param {Object} config (optional) Configuration parameters.
  16. * @submodule series-marker-stacked
  17. */
  18. Y.StackedMarkerSeries = Y.Base.create("stackedMarkerSeries", Y.MarkerSeries, [Y.StackingUtil], {
  19. /**
  20. * @protected
  21. *
  22. * Calculates the coordinates for the series. Overrides base implementation.
  23. *
  24. * @method setAreaData
  25. */
  26. setAreaData: function()
  27. {
  28. Y.StackedMarkerSeries.superclass.setAreaData.apply(this);
  29. this._stackCoordinates.apply(this);
  30. }
  31. }, {
  32. ATTRS: {
  33. /**
  34. * Read-only attribute indicating the type of series.
  35. *
  36. * @attribute type
  37. * @type String
  38. * @default stackedMarker
  39. */
  40. type: {
  41. value:"stackedMarker"
  42. }
  43. }
  44. });