chartHeight, PentahoRequestContextHolder.getRequestContext().getContextPath() );
is = new ByteArrayInputStream( jFreeChartHtml.getBytes( "utf-8" ) ); //$NON-NLS-1$
} else {
ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
output.persistChart( outputStream, getOutputType(), chartWidth, chartHeight );
is = new ByteArrayInputStream( outputStream.toByteArray() );
}
}
int val = 0;