@@ -446,13 +446,14 QStringList ChartAxis::createValueLabels(int ticks) const | |||
|
446 | 446 | if (format.contains("d") |
|
447 | 447 | || format.contains("i") |
|
448 | 448 | || format.contains("c")) |
|
449 | ||
|
450 | 449 | labels << QString().sprintf(array, (qint64)value); |
|
451 | 450 | else if (format.contains("u") |
|
452 | 451 | || format.contains("o") |
|
453 | 452 | || format.contains("x", Qt::CaseInsensitive)) |
|
454 | 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 | 457 | labels << QString().sprintf(array, value); |
|
457 | 458 | } |
|
458 | 459 | } |
General Comments 0
You need to be logged in to leave comments.
Login now