| 131 | } |
| 132 | |
| 133 | static jint SetChartLegend(JNIEnv *env, jclass clazz, jlong chart, jstring field, jstring config) { |
| 134 | std::string _field = JavaStringToString(env, field); |
| 135 | std::string _config = JavaStringToString(env, config); |
| 136 | |
| 137 | xg::XChart *_chart = reinterpret_cast<xg::XChart *>(chart); |
| 138 | _chart->Legend(_field, std::move(_config)); |
| 139 | F2_LOG_I(_chart->GetChartName(), "%s", "#SetChartLegend"); |
| 140 | return 0; |
| 141 | } |
| 142 | |
| 143 | static jint SetChartGuideType(JNIEnv *env, jclass clazz, jlong chart, jstring type, jstring config) { |
| 144 | xg::XChart *_chart = reinterpret_cast<xg::XChart *>(chart); |
nothing calls this directly
no test coverage detected