Introduce SelectedValueType enum instead of third index
Improved method to select value programatically - now it also will call chart listener.