Fix: 2D binding causes a crash with axes
If dataPointCoordinatesAt is used with property binding, it can cause
app to crash due to empty axis arrays. This happens because axis arrays
are filled in handlePolish. This change does the initialisation in ctor
of AxisRenderer. In short this sets default axis properties.
Pick-to: 6.11
Fixes: QTBUG-146713
Change-Id: I8ec3ef547ef6af515f521472636721b7f185ff10
Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io>
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>