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 {
|
|
|
|
|
2023-10-02 23:07:05 +00:00
|
|
|
constexpr auto kRulerLineAlpha = 0.06;
|
|
|
|
|
2023-05-26 13:04:33 +00:00
|
|
|
struct Limits final {
|
|
|
|
float64 min = 0;
|
|
|
|
float64 max = 0;
|
|
|
|
};
|
|
|
|
|
2023-08-27 21:16:48 +00:00
|
|
|
enum class ChartViewType {
|
|
|
|
Linear,
|
2023-11-17 00:28:33 +00:00
|
|
|
Bar,
|
|
|
|
StackBar,
|
2023-09-11 12:22:24 +00:00
|
|
|
DoubleLinear,
|
2023-09-12 08:35:09 +00:00
|
|
|
StackLinear,
|
2023-08-27 21:16:48 +00:00
|
|
|
};
|
|
|
|
|
2023-05-26 13:04:33 +00:00
|
|
|
} // namespace Statistic
|