I'm trying to create simple chart extension, but I'm struggling with selection. I'm using following code:
this.backendApi.selectValues(0,[array],true)
it selects perfectly, but I cannot implement CONFIRM mode. I set the initial property to selectionMode:"CONFIRM" but that haven't changed anything. In the documentation there's distinction between 2 calls
this.backendApi.selectValues(0,[array],true)
and
self.backendApi.selectValues(0,[array],true) //to select in CONFIRM mode.
The problem is I don't know to what self refers to.
There are two selectValues methods to use depending on the mode you're after; this.backendApi.selectValues is used to immediately apply the selection, while this.selectValuescan be used if you want the selection toolbar to show and confirm manually.