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

Function SetChartScale

core/android/F2NativeJNI.cpp:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78static jint SetChartScale(JNIEnv *env, jclass clazz, jlong chart, jstring field, jstring config) {
79 std::string _field = JavaStringToString(env, field);
80 std::string _config = JavaStringToString(env, config);
81
82 xg::XChart *_chart = reinterpret_cast<xg::XChart *>(chart);
83 _chart->Scale(std::move(_field), std::move(_config));
84 F2_LOG_I(_chart->GetChartName(), "%s", "#SetChartScale");
85 return 0;
86}
87
88static jint SetChartAxis(JNIEnv *env, jclass clazz, jlong chart, jstring field, jstring config) {
89 std::string _field = JavaStringToString(env, field);

Callers

nothing calls this directly

Calls 2

JavaStringToStringFunction · 0.85
ScaleMethod · 0.45

Tested by

no test coverage detected