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
elem.setAttribute( "height", Double.toString( arg3 ) ); 
		return elem;
	}
	protected Element createRoundRect( double arg0, double arg1, double arg2,
			double arg3, double arg4, double arg5 )
	{
		Element elem = createElement( "rect" ); 
		elem.setAttribute( "x", Double.toString( arg0 ) ); 
		elem.setAttribute( "y", Double.toString( arg1 ) ); 
		elem.setAttribute( "width", Double.toString( arg2 ) ); 
		elem.setAttribute( "height", Double.toString( arg3 ) ); 
		elem.setAttribute( "rx", Double.toString( arg2 ) ); 
		elem.setAttribute( "ry", Double.toString( arg3 ) ); 
		return elem;
	}
	protected Element createOval( double arg0, double arg1, double arg2,
			double arg3 )
	{
		Element elem = createElement( "ellipse" ); 
		elem.setAttribute( "cx", Double.toString( arg0 ) ); 
		elem.setAttribute( "cy", Double.toString( arg1 ) ); 
		elem.setAttribute( "rx", Double.toString( arg2 ) ); 
		elem.setAttribute( "ry", Double.toString( arg3 ) ); 
		return elem;
	}
	protected Element createArc( double x, double y, double width,
			double height, double startAngle, double arcAngle )
	{
		Element elem = createElement( "path" ); 
		double startX = x * Math.cos( startAngle );