2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Added support of default zoom to statistical charts.

This commit is contained in:
23rd
2023-09-28 05:11:53 +03:00
committed by John Preston
parent 33724be6ea
commit 24c0624704
3 changed files with 42 additions and 2 deletions

View File

@@ -73,6 +73,11 @@ struct StatisticalChart {
std::vector<Line> lines;
struct {
float64 min = 0.;
float64 max = 0.;
} defaultZoomXIndex;
int maxValue = 0;
int minValue = std::numeric_limits<int>::max();