@Override
  public void resetChart(Boolean resetDisplayedList) {

    for (SlidingPortfolioShare sShare : chartTarget.getCurrentTabShareList()) {
      Stock viewStateParams = chartTarget.getHightlitedEventModel().getViewParamRoot();
      if (viewStateParams != null && viewStateParams.equals(sShare.getStock())) {
        sShare.setDisplayOnChart(true);
      } else {
        sShare.setDisplayOnChart(false);
      }
    }

    chartTarget.getMainChartWraper().resetLineChart();
    chartTarget.getMainChartWraper().resetBarChart();
    chartTarget.getMainChartWraper().resetIndicChart();
  }
  private void hideAllButSelected(final Stock selectedShare) {

    for (SlidingPortfolioShare sShare : chartTarget.getCurrentTabShareList()) {
      if (!sShare.getStock().equals(selectedShare)) {
        sShare.setDisplayOnChart(false);
      } else {
        sShare.setDisplayOnChart(true);
      }
    }
    chartTarget.getStripedCloseFunction().updateStartDate(chartTarget.getSlidingStartDate());
    chartTarget.getStripedCloseFunction().updateEndDate(chartTarget.getSlidingEndDate());
    chartTarget
        .getMainChartWraper()
        .updateLineDataSet(
            chartTarget.getCurrentTabShareList(),
            chartTarget.getStripedCloseFunction(),
            getIsApplyColor(),
            chartTarget.getPlotChartDimensions());
  }