IDeviceRenderer deviceRenderer = null;
try {
deviceRenderer = PluginSettings.instance().getDevice("dv.SWT"); //$NON-NLS-1$
deviceRenderer.setProperty(IDeviceRenderer.GRAPHICS_CONTEXT, gc);
bo.scale(72d / deviceRenderer.getDisplayServer().getDpiResolution()); // CONVERT
// TO
// POINTS
// GENERATE AND RENDER THE CHART
final Generator gr = Generator.instance();