@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;
        if (getClass() != obj.getClass())
            return false;
        SelectedValue other = (SelectedValue) obj;
        if (firstIndex != other.firstIndex)
            return false;
        if (secondIndex != other.secondIndex)
            return false;
        if (type != other.type)
            return false;
        return true;
    }
Second index i.e for LineChart that will be PointValue index.
hellocharts-library/src/lecho/lib/hellocharts/model/SelectedValue.java