MCPcopy Create free account
hub / github.com/antvis/F2Native / InteractionContext

Method InteractionContext

core/graphics/interaction/InteractionContext.cpp:8–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6using namespace xg;
7
8interaction::InteractionContext::InteractionContext(XChart *chart) {
9 this->chart_ = chart;
10 this->chart_->AddMonitor(ACTION_CHART_AFTER_INIT, XG_MEMBER_CALLBACK(interaction::InteractionContext::OnAfterChartInit));
11}
12
13interaction::InteractionContext::~InteractionContext() { this->chart_ = nullptr; }
14

Callers

nothing calls this directly

Calls 1

AddMonitorMethod · 0.45

Tested by

no test coverage detected