if (sDimension.equals("2D"))
if (sDimension.equals("2D") || sDimension.equals(ChartDimension.TWO_DIMENSIONAL_LITERAL.getName()))
    public Collection getChartSubtypes(String sDimension, Orientation orientation)    {        Vector vSubTypes = new Vector();        // Do not respond to requests for unknown orientations        if (!orientation.equals(Orientation.VERTICAL_LITERAL))        {            return vSubTypes;        }        if (sDimension.equals("2D"))        {            img2D = UIHelper.getImage("images/PieChartImage.gif");            vSubTypes.add(new ChartSubTypeImpl("Standard Pie Chart", img2D));        }        else if (sDimension.equals("2D With Depth"))        {            img2DWithDepth = UIHelper.getImage("images/PieChartWithDepthImage.gif");            vSubTypes.add(new ChartSubTypeImpl("Standard Pie Chart", img2DWithDepth));        }        return vSubTypes;    }