Color change in Line series chartview in qml

28 Views Asked by At

I want to change the color of my axes data in a line chart in QML, like the following example:

ValueAxis titles

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
        }
    }
}
0

There are 0 best solutions below