public void set(int firstIndex, int secondIndex, SelectedValueType type) {
        this.firstIndex = firstIndex;
        this.secondIndex = secondIndex;
        if (null != type) {
            this.type = type;
        } else {
            this.type = SelectedValueType.NONE;
        }
    }
Used only for combo charts, in other cases should have value NONE.
hellocharts-library/src/lecho/lib/hellocharts/model/SelectedValue.java