private ChartDimension getDimensionFor(String sDimension) { if (sDimension == null || sDimension.equals("2D")) { return ChartDimension.TWO_DIMENSIONAL_LITERAL; } if (sDimension.equals("3D")) { return ChartDimension.THREE_DIMENSIONAL_LITERAL; } return ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL; }
private ChartDimension getDimensionFor( String sDimension ) { if ( sDimension == null || sDimension.equals( TWO_DIMENSION_TYPE ) ) { return ChartDimension.TWO_DIMENSIONAL_LITERAL; } if ( sDimension.equals( THREE_DIMENSION_TYPE ) ) { return ChartDimension.THREE_DIMENSIONAL_LITERAL; } return ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL; }
    private ChartDimension getDimensionFor(String sDimension)    {        if (sDimension == null || sDimension.equals("2D")) //$NON-NLS-1$        {            return ChartDimension.TWO_DIMENSIONAL_LITERAL;        }        if (sDimension.equals("3D")) //$NON-NLS-1$        {            return ChartDimension.THREE_DIMENSIONAL_LITERAL;        }        return ChartDimension.TWO_DIMENSIONAL_WITH_DEPTH_LITERAL;    }