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

Function ChartClear

core/android/F2NativeJNI.cpp:256–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256static jint ChartClear(JNIEnv *env, jclass clazz, jlong chart) {
257 xg::XChart *_chart = reinterpret_cast<xg::XChart *>(chart);
258 F2_LOG_I(_chart->GetChartName(), "%s", "#clear");
259 _chart->Clear();
260 return 0;
261}
262
263static jint SetChartGeomPosition(JNIEnv *env, jclass clazz, jlong geom, jstring type, jstring fields) {
264 xg::geom::AbstractGeom *_geom = reinterpret_cast<xg::geom::AbstractGeom *>(geom);

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected