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
this.paint = gp;
		}
		else
			this.paint = paint;
	}
	/***************************************************************************
	 * Factory Methods
	 **************************************************************************/
	protected Element createGradientPaint( SVGGradientPaint paint )
	{
		Element elem = dom.createElement( "linearGradient" ); 
		elem.setAttribute( "id", paint.getId( ) ); 
		elem.setAttribute( "x1", Double.toString( paint.getPoint1( ).getX( ) ) ); 
		elem.setAttribute( "y1", Double.toString( paint.getPoint1( ).getY( ) ) ); 
		elem.setAttribute( "x2", Double.toString( paint.getPoint2( ).getX( ) ) ); 
		elem.setAttribute( "y2", Double.toString( paint.getPoint2( ).getY( ) ) ); 
		elem.setAttribute( "gradientUnits", "userSpaceOnUse" ); 
		if ( paint.isCyclic( ) )
			elem.setAttribute( "spreadMethod", "repeat" ); 
		Element startColor = dom.createElement( "stop" ); 
		startColor.setAttribute( "offset", "0%" ); 
		startColor.setAttribute( "stop-color", serializeToString( paint.getColor1( ) ) ); 
		elem.appendChild( startColor );
		Element endColor = dom.createElement( "stop" ); 
		endColor.setAttribute( "offset", "100%" ); 
		endColor.setAttribute( "stop-color", serializeToString( paint.getColor2( ) ) ); 
		elem.appendChild( endColor );
		return elem;
	}
	protected Element createLine( double arg0, double arg1, double arg2,