Showing
1 changed file
with
12 additions
and
12 deletions
@@ -94,18 +94,18 @@ | @@ -94,18 +94,18 @@ | ||
94 | const cell = self.generatorCell(id, enumConst.CHART_IMG_PLACEHOLDER_SIZE, enumConst.CHART_IMG_PLACEHOLDER_SIZE, componentType.DASHBOARD_CHART, `${Proxy_Prefix}/images/thingskit/dashboard-chart.png`) | 94 | const cell = self.generatorCell(id, enumConst.CHART_IMG_PLACEHOLDER_SIZE, enumConst.CHART_IMG_PLACEHOLDER_SIZE, componentType.DASHBOARD_CHART, `${Proxy_Prefix}/images/thingskit/dashboard-chart.png`) |
95 | return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, '仪表盘'); | 95 | return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, '仪表盘'); |
96 | })), | 96 | })), |
97 | - this.addEntry('flowmeter-circle', mxUtils.bind(this, function () { | ||
98 | - const cell = self.generateFlowmeterCell(100, 100, Sidebar.prototype.enumFlowmeterType.CIRCLE) | ||
99 | - return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, '流量计'); | ||
100 | - })), | ||
101 | - this.addEntry('flowmeter-rect', mxUtils.bind(this, function () { | ||
102 | - const cell = self.generateFlowmeterCell(100, 100, Sidebar.prototype.enumFlowmeterType.RECT) | ||
103 | - return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, '流量计'); | ||
104 | - })), | ||
105 | - this.addEntry('flowmeter-thermometer', mxUtils.bind(this, function () { | ||
106 | - const cell = self.generateFlowmeterCell(100, 100, Sidebar.prototype.enumFlowmeterType.THERMOMETER) | ||
107 | - return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, '流量计'); | ||
108 | - })), | 97 | + // this.addEntry('flowmeter-circle', mxUtils.bind(this, function () { |
98 | + // const cell = self.generateFlowmeterCell(100, 100, Sidebar.prototype.enumFlowmeterType.CIRCLE) | ||
99 | + // return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, '流量计'); | ||
100 | + // })), | ||
101 | + // this.addEntry('flowmeter-rect', mxUtils.bind(this, function () { | ||
102 | + // const cell = self.generateFlowmeterCell(100, 100, Sidebar.prototype.enumFlowmeterType.RECT) | ||
103 | + // return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, '流量计'); | ||
104 | + // })), | ||
105 | + // this.addEntry('flowmeter-thermometer', mxUtils.bind(this, function () { | ||
106 | + // const cell = self.generateFlowmeterCell(100, 100, Sidebar.prototype.enumFlowmeterType.THERMOMETER) | ||
107 | + // return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, '流量计'); | ||
108 | + // })), | ||
109 | ]; | 109 | ]; |
110 | 110 | ||
111 | this.addPaletteFunctions('charts', '图表', false, fns); | 111 | this.addPaletteFunctions('charts', '图表', false, fns); |