| | |
| | | //如果y轴小于1,要设置成3,往上移动一下 |
| | | if(perfomance<=1.2) |
| | | { |
| | | perfomance=perfomance+1.2; |
| | | perfomance=perfomance+1.5; |
| | | } |
| | | //如果y轴大于97,设置成97,往下移动一点,好看 |
| | | if(perfomance>=99) |
| | | { |
| | | perfomance=99.0; |
| | | } |
| | | |
| | | if(perfomance>33.0&&perfomance<34.0) |
| | | { |
| | | perfomance = perfomance+2.0; |
| | | } |
| | | |
| | | if(perfomance>66.0&&perfomance<67) |
| | | { |
| | | perfomance = perfomance+2.0; |
| | | } |
| | | |
| | | |
| | | |
| | | if(type==1) |
| | | { |
| | |
| | | { |
| | | olas= olas+1; |
| | | } |
| | | |
| | | if(olas>66.0&olas<=67.0) |
| | | { |
| | | olas = olas -2.0; |
| | | } |
| | | } |
| | | |
| | | if(type==3) |
| | |
| | | olas= olas + 1; |
| | | } |
| | | |
| | | if(olas>=32.0&olas<=33.0) |
| | | { |
| | | olas = olas -2.0; |
| | | } |
| | | } |
| | | |
| | | List<SeriesData> seriesDatas = new ArrayList<>(); |