Commit b3f3c727b15b0318010783a694eec8b54eee9c49
1 parent
a54fd91a
Exists in
master
and in
112 other branches
Redmine #4937
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
js/app/views/PlotTabResultUI.js
... | ... | @@ -247,16 +247,16 @@ Ext.define('amdaUI.PlotTabResultUI', { |
247 | 247 | xText = crtTime.toJSON(); |
248 | 248 | break; |
249 | 249 | case 'y-left' : |
250 | - yLeftText = parseFloat(amdaPlotComp.PlotContextManager.toAxisValue(axis, panel.plotArea.y+panel.plotArea.height, panel.plotArea.y, sourceYPos).toPrecision(2)); | |
250 | + yLeftText = parseFloat(amdaPlotComp.PlotContextManager.toAxisValue(axis, panel.plotArea.y+panel.plotArea.height, panel.plotArea.y, sourceYPos).toFixed(2)); | |
251 | 251 | break; |
252 | 252 | case 'y-right' : |
253 | - yRightText = parseFloat(amdaPlotComp.PlotContextManager.toAxisValue(axis, panel.plotArea.y+panel.plotArea.height, panel.plotArea.y, sourceYPos).toPrecision(2)); | |
253 | + yRightText = parseFloat(amdaPlotComp.PlotContextManager.toAxisValue(axis, panel.plotArea.y+panel.plotArea.height, panel.plotArea.y, sourceYPos).toFixed(2)); | |
254 | 254 | break; |
255 | 255 | case 'xaxis_id' : |
256 | - xText = parseFloat(amdaPlotComp.PlotContextManager.toAxisValue(axis, panel.plotArea.x, panel.plotArea.x+panel.plotArea.width, sourceXPos).toPrecision(2)); | |
256 | + xText = parseFloat(amdaPlotComp.PlotContextManager.toAxisValue(axis, panel.plotArea.x, panel.plotArea.x+panel.plotArea.width, sourceXPos).toFixed(2)); | |
257 | 257 | break; |
258 | 258 | case 'epochAxis' : |
259 | - xText = parseFloat(amdaPlotComp.PlotContextManager.toAxisValue(axis, panel.plotArea.x, panel.plotArea.x+panel.plotArea.width, sourceXPos).toPrecision(2)); | |
259 | + xText = parseFloat(amdaPlotComp.PlotContextManager.toAxisValue(axis, panel.plotArea.x, panel.plotArea.x+panel.plotArea.width, sourceXPos).toFixed(2)); | |
260 | 260 | break; |
261 | 261 | } |
262 | 262 | |
... | ... |