From a231e3aee7881a679243df42ecdd4f4c04adfe87 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期五, 10 一月 2025 10:10:48 +0800 Subject: [PATCH] 2025年01月10日10:10:45 --- aa_chart_core/src/main/java/com/github/AAChartModel/AAChartCore/AAChartCreator/AAOptionsConstructor.java | 701 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 668 insertions(+), 33 deletions(-) diff --git a/aa_chart_core/src/main/java/com/github/AAChartModel/AAChartCore/AAChartCreator/AAOptionsConstructor.java b/aa_chart_core/src/main/java/com/github/AAChartModel/AAChartCore/AAChartCreator/AAOptionsConstructor.java index 385b02e..4667bd3 100644 --- a/aa_chart_core/src/main/java/com/github/AAChartModel/AAChartCore/AAChartCreator/AAOptionsConstructor.java +++ b/aa_chart_core/src/main/java/com/github/AAChartModel/AAChartCore/AAChartCreator/AAOptionsConstructor.java @@ -1,20 +1,650 @@ /** - // AAOptionsConstructor.java - // AAChartCore - // - // Created by AnAn on 2018/12/08. - // Copyright 漏 2018骞� An An. All rights reserved. - /** + * // AAOptionsConstructor.java + * // AAChartCore + * // + * // Created by AnAn on 2018/12/08. + * // Copyright 漏 2018骞� An An. All rights reserved. + * /** * 鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼� ...... SOURCE CODE ......鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼� * 鈼夆棄鈼�................................................... 鈼夆棄鈼� * 鈼夆棄鈼� https://github.com/AAChartModel/AAChartCore 鈼夆棄鈼� * 鈼夆棄鈼� https://github.com/AAChartModel/AAChartCore-Kotlin 鈼夆棄鈼� * 鈼夆棄鈼�................................................... 鈼夆棄鈼� * 鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼� ...... SOURCE CODE ......鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼夆棄鈼� + * <p> + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- + * <p> + * ------------------------------------------------------------------------------- + * <p> + * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 + * <p> + * Please contact me on GitHub,if there are any problems encountered in use. + * GitHub Issues : https://github.com/AAChartModel/AAChartCore/issues + * ------------------------------------------------------------------------------- + * And if you want to contribute for this project, please contact me as well + * GitHub : https://github.com/AAChartModel + * StackOverflow : https://stackoverflow.com/users/7842508/codeforu + * JianShu : http://www.jianshu.com/u/f1e6753d4254 + * SegmentFault : https://segmentfault.com/u/huanghunbieguan + * <p> + * ------------------------------------------------------------------------------- */ /** - * ------------------------------------------------------------------------------- * * 馃寱 馃寲 馃寳 馃寴 鉂�鉂�鉂� WARM TIPS!!! 鉂�鉂�鉂� 馃寫 馃寬 馃寭 馃寯 @@ -60,9 +690,8 @@ import com.github.AAChartModel.AAChartCore.AAOptionsModel.AAYAxis; import com.github.AAChartModel.AAChartCore.AATools.AAColor; -public class AAOptionsConstructor -{ - public static AAOptions configureChartOptions ( +public class AAOptionsConstructor { + public static AAOptions configureChartOptions( AAChartModel aaChartModel ) { AAChart aaChart = new AAChart() @@ -73,31 +702,39 @@ .panning(true) //璁剧疆鎵嬪娍缂╂斁鍚庢槸鍚﹀彲骞崇Щ .polar(aaChartModel.polar) //鏄惁鏋佸寲鍥捐〃(寮�鍚瀬鍧愭爣妯″紡) .margin(aaChartModel.margin) //鍥捐〃杈硅窛 - .scrollablePlotArea(aaChartModel.scrollablePlotArea) - ; + .scrollablePlotArea(aaChartModel.scrollablePlotArea); AATitle aaTitle = new AATitle() .text(aaChartModel.title) //鏍囬鏂囨湰鍐呭 - .style(aaChartModel.titleStyle) - ; + .style(aaChartModel.titleStyle); AASubtitle aaSubtitle = new AASubtitle() .text(aaChartModel.subtitle) //鍓爣棰樺唴瀹� .align(aaChartModel.subtitleAlign) //鍥捐〃鍓爣棰樻枃鏈按骞冲榻愭柟寮忋�傚彲閫夌殑鍊兼湁 鈥渓eft鈥濓紝鈥漜enter鈥滃拰鈥渞ight鈥濄�� 榛樿鏄細center. - .style(aaChartModel.subtitleStyle) - ; + .style(aaChartModel.subtitleStyle); + + AAStyle aaStyle = new AAStyle(); + aaStyle.fontSize(12); +// aaStyle.width(366); +// aaStyle.height(49); + aaStyle.color(AAColor.rgbaColor(142, 142, 142, 1f)); + AATooltip aaTooltip = new AATooltip() - .enabled(aaChartModel.tooltipEnabled) //鍚敤娴姩鎻愮ず妗� - .shared(true) //澶氱粍鏁版嵁鍏变韩涓�涓诞鍔ㄦ彁绀烘 + .enabled(true) //鍚敤娴姩鎻愮ず妗� +// .shared(true) //澶氱粍鏁版嵁鍏变韩涓�涓诞鍔ㄦ彁绀烘 + .backgroundColor(AAColor.rgbaColor(57, 56, 61, 1f)) + .borderRadius(16) + .borderWidth(0) + .valueDecimals(2) + .style(aaStyle) .valueSuffix(aaChartModel.tooltipValueSuffix) //娴姩鎻愮ず妗嗙殑鍗曚綅鍚嶇О鍚庣紑 - ; + .useHTML(true) + .pointFormat("<div style='margin:5px 0;padding:0;display;flex;flex-direction:row;align-items:center'>" + "<span style='display:inline-block;width:10px;height:10px;background-color:rgba(54, 255, 186, 1);border-radius:50%'></span>" + "<span style='margin-left:6px; font-size:12px;color: rgba(142, 142, 142, 1)'>{series.name}: </span>" + "<span style='font-size:12px; color:rgba(172, 172, 172, 1)'>{point.y}</span>" + "</div>"); AAPlotOptions aaPlotOptions = new AAPlotOptions() - .series(new AASeries() - .stacking(aaChartModel.stacking) //璁剧疆鏄惁鐧惧垎姣斿爢鍙犳樉绀哄浘褰� - ) - ; + .series(new AASeries().stacking(aaChartModel.stacking) //璁剧疆鏄惁鐧惧垎姣斿爢鍙犳樉绀哄浘褰� + ); if (!aaChartModel.animationType.equals(AAChartAnimationType.Linear)) { aaPlotOptions.series.animation((new AAAnimation() @@ -106,14 +743,13 @@ )); } - configureAAPlotOptionsMarkerStyle(aaChartModel,aaPlotOptions); - configureAAPlotOptionsDataLabels(aaPlotOptions,aaChartModel); + configureAAPlotOptionsMarkerStyle(aaChartModel, aaPlotOptions); + configureAAPlotOptionsDataLabels(aaPlotOptions, aaChartModel); AALegend aaLegend = new AALegend() .enabled(aaChartModel.legendEnabled) //鏄惁鏄剧ず legend .itemStyle(new AAItemStyle() - .color(aaChartModel.axesTextColor)) - ; + .color(aaChartModel.axesTextColor)); AAOptions aaOptions = new AAOptions() .chart(aaChart) @@ -127,12 +763,12 @@ .touchEventEnabled(aaChartModel.touchEventEnabled) //鏄惁鏀寔鐐瑰嚮浜嬩欢 ; - configureAxisContentAndStyle(aaOptions,aaChartModel); + configureAxisContentAndStyle(aaOptions, aaChartModel); return aaOptions; } - private static void configureAAPlotOptionsMarkerStyle ( + private static void configureAAPlotOptionsMarkerStyle( AAChartModel aaChartModel, AAPlotOptions aaPlotOptions ) { @@ -167,7 +803,7 @@ } - private static void configureAAPlotOptionsDataLabels ( + private static void configureAAPlotOptionsDataLabels( AAPlotOptions aaPlotOptions, AAChartModel aaChartModel ) { @@ -194,8 +830,7 @@ case AAChartType.Bar: AABar aaBar = new AABar() .borderWidth(0f) - .borderRadius(aaChartModel.borderRadius) - ; + .borderRadius(aaChartModel.borderRadius); if (aaChartModel.polar) { aaBar.pointPadding(0f) .groupPadding(0.005f); @@ -224,7 +859,7 @@ } - private static void configureAxisContentAndStyle ( + private static void configureAxisContentAndStyle( AAOptions aaOptions, AAChartModel aaChartModel ) { -- Gitblit v1.8.0