statistics_common.h 490 B

123456789101112131415161718192021222324252627
  1. /*
  2. This file is part of Telegram Desktop,
  3. the official desktop application for the Telegram messaging service.
  4. For license and copyright information please follow this link:
  5. https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
  6. */
  7. #pragma once
  8. namespace Statistic {
  9. constexpr auto kRulerLineAlpha = 0.06;
  10. struct Limits final {
  11. float64 min = 0;
  12. float64 max = 0;
  13. };
  14. enum class ChartViewType {
  15. Linear,
  16. Bar,
  17. StackBar,
  18. DoubleLinear,
  19. StackLinear,
  20. };
  21. } // namespace Statistic