/** * Sets the data set that the graph displays. Depending on the log mode, the line will represents * the values of the <sup>10</sup>log() of the values. * * @param d the data set. * @see #getDataSet */ public void setDataSet(GraphDataSet d) { if (dataSet != null) { dataSet.removePropertyChangeListener(this); } dataSet = d; if (dataSet != null) { dataSet.addPropertyChangeListener(this); } }