Hi Dmitriy,
Just as with the other charts, the display is driven from the data and changing the display won't change the data.
You should call the menu.filter() or menu.replaceFilter() function to set the values, and then call menu.redrawGroup() to redraw the widget and all charts which rely on its filter.
In your case, this will look something like
selectMenu
.replaceFilter([["value1", "value2", "value3"]])
.redrawGroup()
Note the array containing a single array. It is a quirky interface.
The documentation for chart.filter() was incomplete and out-of-date, so I've just rewritten it. chart.replaceFilter() was not previously documented, and it is usually what people want, since filter on its own always toggles the values.
(The filter function has gotten rather complex over the years! I'd appreciate if local experts could give this a thorough review as we prepare for 2.0.)
Cheers,
Gordon