afreechart/src/main/java/org/afree/chart/plot/CategoryPlot.java
/**
     * Removes a marker for a specific dataset/renderer and, if requested, sends
     * a {@link PlotChangeEvent} to all registered listeners.
     * 
     * @param index
     *            the dataset/renderer index.
     * @param marker
     *            the marker.
     * @param layer
     *            the layer (foreground or background).
     * @param notify
     *            notify listeners?
     * 
     * @return A boolean indicating whether or not the marker was actually
     *         removed.
     * 
     * @since JFreeChart 1.0.10
     */
Removes a marker for a specific dataset/renderer and, if requested, sends
a  PlotChangeEvent to all registered listeners.

@param index
the dataset/renderer index.
@param marker
the marker.
@param layer
the layer (foreground or background).

@return A boolean indicating whether or not the marker was actually
removed.


Removes a marker for a specific dataset / renderer and if requested sends a PlotChangeEvent to all registered listeners . @param index the dataset / renderer index . @param marker the marker . @param layer the layer ( foreground or background ) . @return A boolean indicating whether or not the marker was actually removed .
public boolean removeDomainMarker(int index, Marker marker, Layer layer,
            boolean notify) {
        ArrayList markers;
        if (layer == Layer.FOREGROUND) {
            markers = (ArrayList) this.foregroundDomainMarkers.get(new Integer(
                    index));
        } else {
            markers = (ArrayList) this.backgroundDomainMarkers.get(new Integer(
                    index));
        }
        if (markers == null) {
            return false;
        }
        boolean removed = markers.remove(marker);
        if (removed && notify) {
            fireChangeEvent();
        }
        return removed;
    }
public boolean removeDomainMarker ( int index , Marker marker , Layer layer , boolean notify ) { ArrayList markers ; if ( layer == Layer . FOREGROUND ) { markers = ( ArrayList ) this . foregroundDomainMarkers . get ( new Integer ( index ) ) ; } else { markers = ( ArrayList ) this . backgroundDomainMarkers . get ( new Integer ( index ) ) ; } if ( markers == null ) { return false ; } boolean removed = markers . remove ( marker ) ; if ( removed && notify ) { fireChangeEvent ( ) ; } return removed ; }
Removes a marker for a specific dataset/renderer and, if requested, sends
 a {@link PlotChangeEvent} to all registered listeners.
Removes a marker for a specific dataset / renderer and if requested sends a { @link PlotChangeEvent } to all registered listeners .