code: public void setDataList(LinkedList<DataPoint> dataList) {
          DATA_LIST.clear();
          DATA_LIST.addAll(dataList);
          repaint(INNER_BOUNDS);
      }
docs: Clears the existing DATA_LIST and adds all elements from the given LinkedList to it
  @param dataList