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

Method GetSelectedRecordsForGeom

core/graphics/XChart.cpp:666–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664}
665
666const nlohmann::json XChart::GetSelectedRecordsForGeom(const size_t index) {
667 if(!canvasContext_ || !canvasContext_->IsValid() || scaleController_->Empty()) {
668 return {};
669 }
670 const auto &geom = this->geoms_[index];
671 auto &records = geom->GetSelectedRecords();
672 return records;
673}
674
675void XChart::ClearInner() {
676

Callers 1

GetPositionMethod · 0.80

Calls 3

EmptyMethod · 0.80
GetSelectedRecordsMethod · 0.80
IsValidMethod · 0.45

Tested by

no test coverage detected