| 76 | } |
| 77 | |
| 78 | static 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 | |
| 88 | static jint SetChartAxis(JNIEnv *env, jclass clazz, jlong chart, jstring field, jstring config) { |
| 89 | std::string _field = JavaStringToString(env, field); |
nothing calls this directly
no test coverage detected