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

Function SetChartToolTip

core/android/F2NativeJNI.cpp:125–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125static jint SetChartToolTip(JNIEnv *env, jclass clazz, jlong chart, jstring config) {
126 std::string _config = JavaStringToString(env, config);
127
128 xg::XChart *_chart = reinterpret_cast<xg::XChart *>(chart);
129 _chart->Tooltip(std::move(_config));
130 return 0;
131}
132
133static jint SetChartLegend(JNIEnv *env, jclass clazz, jlong chart, jstring field, jstring config) {
134 std::string _field = JavaStringToString(env, field);

Callers

nothing calls this directly

Calls 1

JavaStringToStringFunction · 0.85

Tested by

no test coverage detected