afreechart/src/main/java/org/afree/chart/plot/XYPlot.java
/**
     * Maps the specified dataset to the axes in the list. Note that the
     * conversion of data values into Java2D space is always performed using the
     * first axis in the list.
     * 
     * @param index
     *            the dataset index (zero-based).
     * @param axisIndices
     *            the axis indices (<code>null</code> permitted).
     * 
     * @since JFreeChart 1.0.12
     */
Maps the specified dataset to the axes in the list. Note that the
conversion of data values into Java2D space is always performed using the
first axis in the list.

@param index
the dataset index (zero-based).
@param axisIndices
the axis indices (null permitted).


Maps the specified dataset to the axes in the list . Note that the conversion of data values into Java2D space is always performed using the first axis in the list . @param index the dataset index ( zero - based ) . @param axisIndices the axis indices ( null permitted ) .
public void mapDatasetToDomainAxes(int index, List axisIndices) {
        if (index < 0) {
            throw new IllegalArgumentException("Requires 'index' >= 0.");
        }
        checkAxisIndices(axisIndices);
        Integer key = new Integer(index);
        this.datasetToDomainAxesMap.put(key, new ArrayList(axisIndices));
         datasetChanged(new DatasetChangeEvent(this, getDataset(index)));
    }
public void mapDatasetToDomainAxes ( int index , List axisIndices ) { if ( index < 0 ) { throw new IllegalArgumentException ( "Requires 'index' >= 0." ) ; } checkAxisIndices ( axisIndices ) ; Integer key = new Integer ( index ) ; this . datasetToDomainAxesMap . put ( key , new ArrayList ( axisIndices ) ) ; datasetChanged ( new DatasetChangeEvent ( this , getDataset ( index ) ) ) ; }
Maps the specified dataset to the axes in the list.
Maps the specified dataset to the axes in the list .
// fake a dataset change event to update axes...