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

Function SetChartInteraction

core/android/F2NativeJNI.cpp:116–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116static jint SetChartInteraction(JNIEnv *env, jclass clazz, jlong chart, jstring type, jstring config) {
117 std::string _type = JavaStringToString(env, type);
118 std::string _config = JavaStringToString(env, config);
119
120 xg::XChart *_chart = reinterpret_cast<xg::XChart *>(chart);
121 _chart->Interaction(_type, _config);
122 return 0;
123}
124
125static jint SetChartToolTip(JNIEnv *env, jclass clazz, jlong chart, jstring config) {
126 std::string _config = JavaStringToString(env, config);

Callers

nothing calls this directly

Calls 1

JavaStringToStringFunction · 0.85

Tested by

no test coverage detected