*
*/
public JRPrintElement convert(ReportConverter reportConverter, JRElement element)
{
JRBasePrintImage printImage = new JRBasePrintImage(reportConverter.getDefaultStyleProvider());
JRChart chart = (JRChart)element;
copyElement(reportConverter, chart, printImage);
printImage.copyBox(chart.getLineBox());
printImage.setAnchorName(JRExpressionUtil.getExpressionText(chart.getAnchorNameExpression()));
printImage.setBookmarkLevel(chart.getBookmarkLevel());
printImage.setLinkType(chart.getLinkType());
printImage.setOnErrorType(OnErrorTypeEnum.ICON);
printImage.setRenderer(getRenderer(reportConverter, chart));
printImage.setScaleImage(ScaleImageEnum.CLIP);
return printImage;