mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-25 03:37:11 +00:00
62 lines
1.3 KiB
C++
62 lines
1.3 KiB
C++
|
/*
|
||
|
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
|
||
|
*/
|
||
|
#include "statistics/view/stack_chart_view.h"
|
||
|
|
||
|
namespace Statistic {
|
||
|
namespace {
|
||
|
} // namespace
|
||
|
|
||
|
StackChartView::StackChartView() = default;
|
||
|
|
||
|
StackChartView::~StackChartView() = default;
|
||
|
|
||
|
void StackChartView::paint(
|
||
|
QPainter &p,
|
||
|
const Data::StatisticalChart &chartData,
|
||
|
const Limits &xIndices,
|
||
|
const Limits &xPercentageLimits,
|
||
|
const Limits &heightLimits,
|
||
|
const QRect &rect,
|
||
|
bool footer) {
|
||
|
}
|
||
|
|
||
|
void StackChartView::paintSelectedXIndex(
|
||
|
QPainter &p,
|
||
|
const Data::StatisticalChart &chartData,
|
||
|
const Limits &xPercentageLimits,
|
||
|
const Limits &heightLimits,
|
||
|
const QRect &rect,
|
||
|
int selectedXIndex) {
|
||
|
}
|
||
|
|
||
|
void StackChartView::setEnabled(int id, bool enabled, crl::time now) {
|
||
|
}
|
||
|
|
||
|
bool StackChartView::isFinished() const {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
bool StackChartView::isEnabled(int id) const {
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
float64 StackChartView::alpha(int id) const {
|
||
|
return 1.0;
|
||
|
}
|
||
|
|
||
|
AbstractChartView::HeightLimits StackChartView::heightLimits(
|
||
|
Data::StatisticalChart &chartData,
|
||
|
Limits xIndices) {
|
||
|
return {};
|
||
|
}
|
||
|
|
||
|
void StackChartView::tick(crl::time now) {
|
||
|
}
|
||
|
|
||
|
} // namespace Statistic
|