plots: fix value persistence when editing
This commit is contained in:
parent
44da2906d9
commit
60b7fda7f9
1 changed files with 7 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
var {mapToScale} = require('../utils'),
|
||||
_widgets_base = require('../common/_widgets_base'),
|
||||
_canvas_base = require('../common/_canvas_base'),
|
||||
{widgetManager} = require('../../managers')
|
||||
|
||||
|
|
@ -160,6 +161,12 @@ module.exports = class _plots_base extends _canvas_base {
|
|||
|
||||
}
|
||||
|
||||
getValue() {
|
||||
|
||||
return _widgets_base.deepCopy(this.data)
|
||||
|
||||
}
|
||||
|
||||
updateData() {
|
||||
|
||||
// update the coordinates to draw
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue