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

Function SetChartAnimate

core/android/F2NativeJNI.cpp:107–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107static jint SetChartAnimate(JNIEnv *env, jclass clazz, jlong chart, jstring config) {
108 std::string _config = JavaStringToString(env, config);
109
110 xg::XChart *_chart = reinterpret_cast<xg::XChart *>(chart);
111 _chart->Animate(std::move(_config));
112 F2_LOG_I(_chart->GetChartName(), "%s", "#SetChartAnimate");
113 return 0;
114}
115
116static jint SetChartInteraction(JNIEnv *env, jclass clazz, jlong chart, jstring type, jstring config) {
117 std::string _type = JavaStringToString(env, type);

Callers

nothing calls this directly

Calls 1

JavaStringToStringFunction · 0.85

Tested by

no test coverage detected