2
YUI 3.10.3 (build 2fb5187)
3
Copyright 2013 Yahoo! Inc. All rights reserved.
4
Licensed under the BSD License.
5
http://yuilibrary.com/license/
8
YUI.add('series-spline', function (Y, NAME) {
11
* Provides functionality for creating a spline series.
14
* @submodule series-spline
17
* SplineSeries renders a graph with data points connected by a curve.
24
* @param {Object} config (optional) Configuration parameters.
25
* @submodule series-spline
27
Y.SplineSeries = Y.Base.create("splineSeries", Y.LineSeries, [Y.CurveUtil, Y.Lines], {
35
drawSeries: function()
42
* Read-only attribute indicating the type of series.
53
* Style properties used for drawing lines. This attribute is inherited from `Renderer`.
54
* Below are the default values:
56
* <dt>color</dt><dd>The color of the line. The default value is determined by the order of the series on
57
* the graph. The color will be retrieved from the following array:
58
* `["#426ab3", "#d09b2c", "#000000", "#b82837", "#b384b5", "#ff7200", "#779de3", "#cbc8ba", "#7ed7a6", "#007a6c"]`
59
* <dt>weight</dt><dd>Number that indicates the width of the line. The default value is 6.</dd>
60
* <dt>alpha</dt><dd>Number between 0 and 1 that indicates the opacity of the line. The default value is 1.</dd>
61
* <dt>lineType</dt><dd>Indicates whether the line is solid or dashed. The default value is solid.</dd>
62
* <dt>dashLength</dt><dd>When the `lineType` is dashed, indicates the length of the dash. The default value
64
* <dt>gapSpace</dt><dd>When the `lineType` is dashed, indicates the distance between dashes. The default value is
66
* <dt>connectDiscontinuousPoints</dt><dd>Indicates whether or not to connect lines when there is a missing or null
67
* value between points. The default value is true.</dd>
68
* <dt>discontinuousType</dt><dd>Indicates whether the line between discontinuous points is solid or dashed. The
69
* default value is solid.</dd>
70
* <dt>discontinuousDashLength</dt><dd>When the `discontinuousType` is dashed, indicates the length of the dash.
71
* The default value is 10.</dd>
72
* <dt>discontinuousGapSpace</dt><dd>When the `discontinuousType` is dashed, indicates the distance between dashes.
73
* The default value is 10.</dd>
89
}, '3.10.3', {"requires": ["series-line", "series-curve-util"]});