February is missing from QDateTime axis in QML chart view
Unsolved
QML and Qt Quick
-
I have created a QML chart
ChartView { id: chart anchors.fill: parent antialiasing: true ValueAxis { id: axisY tickCount: 3 } DateTimeAxis{ id: xTime tickCount: 6 }
But February month is getting missed from X axis and one other month is getting doubles. How to show to show it correctly.
Note : X axis values are added dynamiccaly -
@Refi
February is not a very nice month :)
Seriously, I think you can assume those ticks are about every 30 days. Which can skip February, and fall twice in May.
That must be what happens with thetickCount: 6
spread across about six months.
I don't know how you do it, but you need to change that somehow e.g. to be on the 1st of every month, if you can.