##// END OF EJS Templates
QML signals documentation
QML signals documentation

File last commit:

r1468:0880d2356fa0
r1531:658bb1d8ea02
Show More
View3.qml
44 lines | 1.3 KiB | application/x-qml | QmlLexer
/****************************************************************************
**
** Copyright (C) 2012 Digia Plc
** All rights reserved.
** For any questions to Digia, please use contact form at http://qt.digia.com
**
** This file is part of the Qt Commercial Charts Add-on.
**
** $QT_BEGIN_LICENSE$
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial License Agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and Digia.
**
** If you have questions regarding the use of this file, please use
** contact form at http://qt.digia.com
** $QT_END_LICENSE$
**
****************************************************************************/
import QtQuick 1.0
import QtCommercial.Chart 1.0
Rectangle {
anchors.fill: parent
//![1]
ChartView {
title: "Spline"
anchors.fill: parent
SplineSeries {
name: "SplineSeries"
XyPoint { x: 0; y: 0.3 }
XyPoint { x: 1.1; y: 3.2 }
XyPoint { x: 1.9; y: 2.4 }
XyPoint { x: 2.1; y: 2.1 }
XyPoint { x: 2.9; y: 2.6 }
XyPoint { x: 3.4; y: 2.3 }
XyPoint { x: 4.1; y: 3.1 }
}
}
//![1]
}