Bug 141214 Sript: Set label outline thinkness, label can be changed to bolder.
Sript: Set label outline thinkness, label can be changed to bolder. Steps: 1.Create a bar chart 2.Script: function beforeDrawAxisLabel(axis, label, scriptContext) { importPackage(Packages.org.eclipse.birt.chart.model.attribute); if (axis.getType() == AxisType.TEXT_LITERAL) label.setVisible(false); else { label.getCaption().getColor( ).set( 208, 32, 0); label.getCaption().getFont().setItalic(true); label.getCaption().getFont().setRotation(30); label.getCaption().getFont().setStrikethrough(true); label.getCaption().getFont().setSize(14); label.getCaption().getFont().setName("Arial"); label.getOutline().setVisible(true); label.getOutline().setThickness(3); } } 3.Preview Actual Results: 1.Labels can be changed to bolder(see the attchment) Expected Results: 1.Lables can not be changed to bolder.
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGGraphics2D.java
*/
	protected String serializeToString( Color color )
	{
		String r = Integer.toHexString( color.getRed( ) );
		if ( color.getRed( ) <= 0xF )
			r = "0" + r; 
		String g = Integer.toHexString( color.getGreen( ) );
		if ( color.getGreen( ) <= 0xF )
			g = "0" + g; 
		String b = Integer.toHexString( color.getBlue( ) );
		if ( color.getBlue( ) <= 0xF )
			b = "0" + b; 
		String ret = "#" + r + g + b; 
		return ret;
	}
	protected String alphaToString( Color color )
	{
		double a = 1;
		if ( color.getAlpha( ) < 0xFF )
		{
			a = color.getAlpha( ) / 255.0;
		}
		return Double.toString( a );
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see java.awt.Graphics#fillArc(int, int, int, int, int, int)
	 */
	public void fillArc( int arg0, int arg1, int arg2, int arg3, int arg4,