diff -r 322d0feea350 -r 89ef5ed3c48b src/cm/media/js/lib/yui/yui_3.10.3/api/classes/CurveUtil.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/media/js/lib/yui/yui_3.10.3/api/classes/CurveUtil.html Tue Jul 16 14:29:46 2013 +0200 @@ -0,0 +1,1925 @@ + + + + + CurveUtil - YUI 3 + + + + + + + + +
+
+
+ +

+ +
+
+ API Docs for: 3.10.3 +
+
+
+ +
+ +
+
+
+ Show: + + + + + + + +
+ + +
+
+
+

CurveUtil Class

+
+ + + + + +
+ Defined in: charts/js/CurveUtil.js:7 +
+ + + + + Module: series-curve-util
+ Parent Module: charts + + + + +
+ + + +
+

Utility class used for calculating curve points.

+
+ + +
+

Constructor

+
+

CurveUtil

+ + + () + + + + + + + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + charts/js/CurveUtil.js:7 + +

+ + + + + +
+ +
+ +
+ + + + + + +
+ +
+ + +
+ + +
+
+

Item Index

+ + +
+

Methods

+ + +
+ + + + + + + +
+ + +
+

Methods

+ + +
+

getControlPoints

+ + +
+ (
    + +
  • + + vals + +
  • + +
) +
+ + + + + + + + + + + + private + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + charts/js/CurveUtil.js:99 + +

+ + + + + +
+ +
+

Gets the control points for the curve.

+
+ + +
+

Parameters:

+ +
    + +
  • + + vals + Array + + + + +
    +

    Collection of values coords used to generate control points.

    +
    + + +
  • + +
+
+ + + +
+

Returns:

+ +
+ + + Array + +
+
+ + + +
+ + +
+

getCurveControlPoints

+ + +
+ (
    + +
  • + + xcoords + +
  • + +
  • + + ycoords + +
  • + +
) +
+ + + + + + + + + + + + protected + + + + + + + + + + +
+ + + +

+ + Defined in + + + + + charts/js/CurveUtil.js:19 + +

+ + + + + +
+ +
+

Creates an array of start, end and control points for splines.

+
+ + +
+

Parameters:

+ +
    + +
  • + + xcoords + Array + + + + +
    +

    Collection of x-coordinates used for calculate the curves

    +
    + + +
  • + +
  • + + ycoords + Array + + + + +
    +

    Collection of y-coordinates used for calculate the curves

    +
    + + +
  • + +
+
+ + + +
+

Returns:

+ +
+ + + Object + +
+
+ + + +
+ + +
+ + + + + + + +
+
+ +
+
+
+
+
+
+ + + + + + + + + +