How to use labelsPrecision with chartView QML?
Unsolved
QML and Qt Quick
-
Hi,
I'm trying to remove decimals from my left Y axis.
Do you know how to do?
Rectangle{ height: parent.height-fgaln.height width:parent.width anchors.bottom:parent.bottom anchors.left: parent.left color:"transparent" ChartView { id:barChartView anchors.fill:parent legend.alignment: Qt.AlignBottom antialiasing: true backgroundColor:"transparent" ValueAxis { id: yAxis } BarSeries { id: mySeries axisX: BarCategoryAxis { categories: StringList.year()} axisY: yAxis labelsVisible :true labelsPosition: AbstractBarSeries.LabelsOutsideEnd } } }
Thank you for you help