Reputation: 23
I want to change the color of my axes data in a line chart in QML, like the following example:
Source code:
ChartView {
title: "Rx4"
backgroundColor: "black"
legend.visible: false
LineSeries {
axisX: ValueAxis {
min: 0
max: 10
titleText: "Frequency(Hz)"
gridVisible: false
color:"white"
}
axisY: ValueAxis {
min: 0
max: 10
titleText: "Power(dBm)"
color:"white"
gridVisible: false
}
}
}
Upvotes: 1
Views: 114