Эх сурвалжийг харах

允许自定义柱状图/折线图y轴最大最小值

zhuth 8 жил өмнө
parent
commit
12e35aaf91

+ 2 - 0
kanban-console/src/main/webapp/resources/app/controller/board.js

@@ -366,6 +366,8 @@ Ext.define('erp.controller.board', {
 				ylinetype: ch.getAttribute('ylinetype'),
 				ybarpos: ch.getAttribute('ybarpos'),
 				ylinepos: ch.getAttribute('ylinepos'),
+				xconfig: ch.getAttribute('xconfig'),
+				yconfig: ch.getAttribute('yconfig'),
 				field: ch.getAttribute('field'),
 				value: ch.getAttribute('value'),
 				legendconfig: ch.getAttribute('legendconfig'),

+ 10 - 0
kanban-console/src/main/webapp/resources/app/view/core/trigger/YAxisTrigger.js

@@ -72,6 +72,16 @@ Ext.define('erp.view.core.trigger.YAxisTrigger', {
                     fieldLabel: '<font title="坐标轴名字旋转角度值">轴名称旋转(°)</font>',
                     name: 'nameRotate',
                     emptyText: '0'
+                }, {
+                	xtype: 'numberfield',
+                    fieldLabel: '<font>刻度最大值</font>',
+                    name: 'max',
+                    emptyText: '自动计算'
+                }, {
+                	xtype: 'numberfield',
+                    fieldLabel: '<font>刻度最小值</font>',
+                    name: 'min',
+                    emptyText: '自动计算'
                 }],
                 setConfig: function(configObj) {
                     var form = this;

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
kanban-console/src/main/webapp/resources/js/boardshow/main.bundle.js


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно