MCPcopy Create free account
hub / github.com/Tencent/loli_profiler / InteractiveChartView

Method InteractiveChartView

src/interactivechartview.cpp:10–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8using namespace QtCharts;
9
10InteractiveChartView::InteractiveChartView(QChart *chart, QWidget *parent)
11 : QChartView(chart, parent) {
12 toolTip_ = new ChartTooltipItem(chart);
13 toolTip_->hide();
14 rubberBand_ = new QRubberBand(QRubberBand::Rectangle, this);
15 setAttribute(Qt::WA_AcceptTouchEvents, true);
16}
17
18void InteractiveChartView::HideToolTip() {
19 toolTip_->hide();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected