double depthFactor = jrPlot.getDepthFactorDouble() == null ? JRPie3DPlot.DEPTH_FACTOR_DEFAULT : jrPlot.getDepthFactorDouble().doubleValue(); boolean isCircular = jrPlot.getCircular() == null ? false : jrPlot.getCircular().booleanValue(); piePlot3D.setDepthFactor(depthFactor); piePlot3D.setCircular(isCircular);