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

Method InvokeFunction

core/graphics/XChart.h:198–204  ·  view source on GitHub ↗

调用callback @param functionId 回调函数的id @param param 参数,是一个json string

Source from the content-addressed store, hash-verified

196 /// @param functionId 回调函数的id
197 /// @param param 参数,是一个json string
198 inline const std::string InvokeFunction(const std::string &functionId, const std::string &param = "{}") {
199 if(_invokeFunction) {
200 return _invokeFunction->Execute(functionId, param);
201 }else {
202 return "{}";
203 }
204 }
205
206
207 /// 设置动画的函数id

Callers 7

GetTickTextMethod · 0.80
GetTickTextMethod · 0.80
OnPressStartMethod · 0.80
OnPressEndMethod · 0.80
ShowToolTipsMethod · 0.80
ShowToolTipMethod · 0.80
InitAxisMethod · 0.80

Calls 1

ExecuteMethod · 0.45

Tested by

no test coverage detected