##// END OF EJS Templates
fix: forgot to restage previous commit
Marek Rosa -
r2269:b003e569935a
parent child
Show More
@@ -446,13 +446,14 QStringList ChartAxis::createValueLabels(int ticks) const
446 if (format.contains("d")
446 if (format.contains("d")
447 || format.contains("i")
447 || format.contains("i")
448 || format.contains("c"))
448 || format.contains("c"))
449
450 labels << QString().sprintf(array, (qint64)value);
449 labels << QString().sprintf(array, (qint64)value);
451 else if (format.contains("u")
450 else if (format.contains("u")
452 || format.contains("o")
451 || format.contains("o")
453 || format.contains("x", Qt::CaseInsensitive))
452 || format.contains("x", Qt::CaseInsensitive))
454 labels << QString().sprintf(array, (quint64)value);
453 labels << QString().sprintf(array, (quint64)value);
455 else
454 else if (format.contains("f", Qt::CaseInsensitive)
455 || format.contains("e", Qt::CaseInsensitive)
456 || format.contains("g", Qt::CaseInsensitive))
456 labels << QString().sprintf(array, value);
457 labels << QString().sprintf(array, value);
457 }
458 }
458 }
459 }
General Comments 0
You need to be logged in to leave comments. Login now