it seems to me the axis auto scaling algorithm should be improved. When the y-axis is auto scaled ant a horizontal line (at 3.3. see attachment) is rendered the scaling, or more precisely the axis labelling fails. The axis settings are:
Chart::WAxis& yAxis = chart->axis(Chart::YAxis); yAxis.setAutoLimits(Chart::MinimumValue | Chart::MaximumValue); yAxis.setRange(Chart::WAxis::AUTO_MINIMUM, Chart::WAxis::AUTO_MAXIMUM); yAxis.setRoundLimits(Chart::MinimumValue | Chart::MaximumValue);
Could you try to fix it, please? I'd looked in the sources but it's quite difficult for me to understand the scaling and labelling algorithms and suggest something or just find better solution for my needs.