Jeyanth Inba
Jeyanth Inba

Reputation: 23

Color change in Line series chartview in qml

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

Upvotes: 1

Views: 114

Answers (0)

Related Questions