Several controls are merged here into a classic line chart; the axis control, the linear gauge and the animated spline. The transformation of a path from one set of points to another is defined through a flexible adapter mechanism.

                var P = TypeViz.Point;
                var interpolator = TypeViz.SVG.Interpolate({
                     Interpolator: TypeViz.SVG.Interpolators.SplineInterpolator,
                     IsClosed: false });
                path.Interpolator = interpolator;
                var from = [];
                for (var i = 0; i < 20; i++) {
                    from.push(new P(80 + i * 25, 300 - TypeViz.Maths.RandomReal(50, 250)));
                }
                path.Points = from;
                path.Stroke = "White";
                path.Opacity = 0.6;
                g.Append(path);
                setInterval(function () {
                    var to = [];
                    for (var i = 0; i < 20; i++) {
                        to.push(new P(80 + i * 25, 300 - TypeViz.Maths.RandomReal(50, 250)));
                    }
                    path.Change({ Data: to }).Play();
                }, 3000);
                var ax = new TypeViz.Controls.Axis();
                ax.Position = new P(80, 30);
                ax.Stroke = "White";
                g.Append(ax);