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