2023-05-24 15:30:30 +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 Data {
|
|
|
|
struct StatisticalChart;
|
|
|
|
} // namespace Data
|
|
|
|
|
|
|
|
namespace Statistic {
|
|
|
|
|
2023-05-26 13:04:33 +00:00
|
|
|
struct Limits;
|
2023-07-07 08:28:50 +00:00
|
|
|
struct DetailsPaintContext;
|
2023-07-14 00:45:59 +00:00
|
|
|
struct ChartLineViewContext;
|
2023-05-26 13:04:33 +00:00
|
|
|
|
2023-05-24 15:30:30 +00:00
|
|
|
void PaintLinearChartView(
|
|
|
|
QPainter &p,
|
|
|
|
const Data::StatisticalChart &chartData,
|
2023-07-11 23:28:56 +00:00
|
|
|
const Limits &xIndices,
|
2023-07-01 09:21:23 +00:00
|
|
|
const Limits &xPercentageLimits,
|
|
|
|
const Limits &heightLimits,
|
2023-07-07 08:28:50 +00:00
|
|
|
const QRect &rect,
|
2023-07-20 18:06:30 +00:00
|
|
|
ChartLineViewContext &lineViewContext,
|
2023-07-10 23:24:02 +00:00
|
|
|
DetailsPaintContext &detailsPaintContext);
|
2023-05-24 15:30:30 +00:00
|
|
|
|
|
|
|
} // namespace Statistic
|