Sfoglia il codice sorgente

科研成果 y轴刻度

linweizeng 2 anni fa
parent
commit
3065a1977d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/views/scientificPayoffs/js/index.js

+ 1 - 0
src/views/scientificPayoffs/js/index.js

@@ -240,6 +240,7 @@ export const barData = {
     yAxis: {
     yAxis: {
         type: 'value',
         type: 'value',
         name: '数量(个)',
         name: '数量(个)',
+        minInterval: 1,
         nameTextStyle: {
         nameTextStyle: {
             color: '#fff',
             color: '#fff',
             fontSize: 14
             fontSize: 14