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

Method SetDarkModeInfo

core/bridge/ChartBridge.cpp:322–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322void ChartBridge::SetDarkModeInfo(bool isDark, std::map<int, int> &colors) {
323 if (chart_ == nullptr) {
324 return;
325 }
326 chart_->GetDarkModeManager().SetDarkModeInfo(isDark,colors);
327}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected