afreechart/src/main/java/org/afree/chart/plot/CombinedRangeCategoryPlot.java
/**
     * Handles a 'click' on the plot by updating the anchor value.
     *
     * @param x  x-coordinate of the click.
     * @param y  y-coordinate of the click.
     * @param info  information about the plot's dimensions.
     *
     */
Handles a 'click' on the plot by updating the anchor value.
@param x  x-coordinate of the click.
@param y  y-coordinate of the click.
@param info  information about the plot's dimensions.
Handles a ' click ' on the plot by updating the anchor value . @param x x - coordinate of the click . @param y y - coordinate of the click . @param info information about the plot ' s dimensions .
public void handleClick(int x, int y, PlotRenderingInfo info) {
        RectShape dataArea = info.getDataArea();
        if (dataArea.contains(x, y)) {
            for (int i = 0; i < this.subplots.size(); i++) {
                CategoryPlot subplot = (CategoryPlot) this.subplots.get(i);
                PlotRenderingInfo subplotInfo = info.getSubplotInfo(i);
                subplot.handleClick(x, y, subplotInfo);
            }
        }
    }
public void handleClick ( int x , int y , PlotRenderingInfo info ) { RectShape dataArea = info . getDataArea ( ) ; if ( dataArea . contains ( x , y ) ) { for ( int i = 0 ; i < this . subplots . size ( ) ; i ++ ) { CategoryPlot subplot = ( CategoryPlot ) this . subplots . get ( i ) ; PlotRenderingInfo subplotInfo = info . getSubplotInfo ( i ) ; subplot . handleClick ( x , y , subplotInfo ) ; } } }
Handles a 'click' on the plot by updating the anchor value.
Handles a ' click ' on the plot by updating the anchor value .