Graphic DateTime axis improvements

This commit is contained in:
2022-11-24 12:46:53 +03:00
parent 0321437a18
commit 2e22a393dc
2 changed files with 104 additions and 50 deletions

View File

@@ -388,7 +388,7 @@ protected:
void setRectToLines();
void checkLines();
double splitRange(double range, int count = 1);
double splitRangeDate(double range, int count, const char *& up_format, const char *& lo_format, int step[7]);
double splitRangeDate(double range, int count, const char ** formats, int step[7]);
double roundTo(double value, double round_to);
void roundDateTime(QDateTime & dt, int c[7]);
void addDateTime(QDateTime & dt, int c[7], qint64 mul = 1);