Charts enter infinite loop when Y column equals 0 or nan
We've found an issue related to charts.
We have a model that we set to a chart ( Cartesian or Pie ). This model is updated in event time and all data in Y column ( vertical column in WStandardItemModel ) were initialized to 0 ( or nan ). As we launched the app containing the chart, it's immediately freezing and consumes 100% CPU (we assume that this is an infinite loop ). We noticed that changing one data to a non zero value ( and non nan ) fixed the bug.
To reproduce this little issue, simply create a WStandardItemModel with zero vector column and try to bind it to the Y axis of a chart.
Up to now we fixed this in checking that the column vector was not a zero (or nan) vector.
Thomas & Mohamed.