Added display of network settings application status. Added axis indicators for the legend that contains information about the point
This commit is contained in:
@@ -24,6 +24,9 @@ ChartView {
|
||||
property bool autoScaling: true
|
||||
property int selectedSeriesIndex: 0
|
||||
|
||||
property string infoXMark: ""
|
||||
property string infoYMark: ""
|
||||
|
||||
ValueAxis {
|
||||
id: valueAxisX
|
||||
min: 0
|
||||
@@ -183,7 +186,7 @@ ChartView {
|
||||
|
||||
if (currentX < chart.series(selectedSeriesIndex).count && currentX > 0) {
|
||||
selectedPoint = chart.series(selectedSeriesIndex).at(currentX)
|
||||
currentPointInfoLabel.text = selectedPoint.x + ", " +selectedPoint.y
|
||||
currentPointInfoLabel.text = selectedPoint.x + " " + infoXMark + ", " + selectedPoint.y + " " + infoYMark
|
||||
} else {
|
||||
currentPointInfo.visible = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user