2023-05-26 13:04:33 +00:00
|
|
|
/*
|
|
|
|
This file is part of Telegram Desktop,
|
|
|
|
the official desktop application for the Telegram messaging service.
|
|
|
|
|
|
|
|
For license and copyright information please follow this link:
|
|
|
|
https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
namespace Statistic {
|
|
|
|
|
|
|
|
struct Limits final {
|
|
|
|
float64 min = 0;
|
|
|
|
float64 max = 0;
|
|
|
|
};
|
|
|
|
|
2023-07-07 08:28:50 +00:00
|
|
|
// Dot on line charts.
|
|
|
|
struct DetailsPaintContext final {
|
|
|
|
int xIndex = -1;
|
2023-07-10 23:24:02 +00:00
|
|
|
|
|
|
|
struct Dot {
|
|
|
|
QPointF point;
|
|
|
|
QColor color;
|
|
|
|
};
|
|
|
|
std::vector<Dot> dots;
|
2023-07-07 08:28:50 +00:00
|
|
|
};
|
|
|
|
|
2023-05-26 13:04:33 +00:00
|
|
|
} // namespace Statistic
|