Removed some unused data chart widget.
This commit is contained in:
parent
15698fd6f0
commit
4dad0a215a
|
@ -230,7 +230,6 @@ ChartWidget::ChartWidget(not_null<Ui::RpWidget*> parent)
|
|||
Statistic::PaintLinearChartView(
|
||||
p,
|
||||
_chartData,
|
||||
{},
|
||||
limits,
|
||||
limitsY,
|
||||
_footer->rect());
|
||||
|
@ -303,8 +302,6 @@ ChartWidget::ChartWidget(not_null<Ui::RpWidget*> parent)
|
|||
if (xFinished) {
|
||||
_xPercentage.animValueXMin.finish();
|
||||
_xPercentage.animValueXMax.finish();
|
||||
|
||||
_xPercentage.was = _xPercentage.now;
|
||||
} else {
|
||||
_xPercentage.animValueXMin.update(dtX, anim::linear);
|
||||
_xPercentage.animValueXMax.update(dtX, anim::linear);
|
||||
|
@ -592,7 +589,6 @@ void ChartWidget::paintEvent(QPaintEvent *e) {
|
|||
Statistic::PaintLinearChartView(
|
||||
p,
|
||||
_chartData,
|
||||
_xPercentage.was,
|
||||
{ _xPercentage.animValueXMin.current(), _xPercentage.animValueXMax.current() },
|
||||
{ _xPercentage.animValueYMin.current(), _xPercentage.animValueYMax.current() },
|
||||
// _xPercentage.now,
|
||||
|
|
|
@ -17,7 +17,6 @@ namespace Statistic {
|
|||
void PaintLinearChartView(
|
||||
QPainter &p,
|
||||
const Data::StatisticalChart &chartData,
|
||||
const Limits &xPercentageLimitsWas,
|
||||
const Limits &xPercentageLimitsNow,
|
||||
const Limits &xPercentageLimitsNowY,
|
||||
const QRect &rect) {
|
||||
|
|
|
@ -18,7 +18,6 @@ struct Limits;
|
|||
void PaintLinearChartView(
|
||||
QPainter &p,
|
||||
const Data::StatisticalChart &chartData,
|
||||
const Limits &xPercentageLimitsWas,
|
||||
const Limits &xPercentageLimitsNow,
|
||||
const Limits &xPercentageLimitsNowY,
|
||||
const QRect &rect);
|
||||
|
|
Loading…
Reference in New Issue