commit | ff71e8784cef518d5b2786d5d25c1f01e3f58150 | [log] [tgz] |
---|---|---|
author | lishutong <lishutong@google.com> | Fri Jul 09 18:46:49 2021 +0000 |
committer | lishutong <lishutong@google.com> | Fri Jul 09 18:46:49 2021 +0000 |
tree | 27980eb4145d4246d63f305777d17832e2223849 | |
parent | 9a06a92a35a3bc9db17962689f9180c42fe2b785 [diff] |
Avoid showing too many entries in the pie chart once. When there are too many data entries, the pie chart is too crowded to view. So we set a parameter in the class EchartsData called maximumEntries, only the top <maximumEntries> will be shown and the rest will be added to a single entry called 'other'. Test: mannual tested. Change-Id: I84bfadd3513c5827426d84ee7d5ad957b1ac5eab