Bug 315366 "Auto" for Curve Fitting Line is not black but transparent
Description: "Auto" for Curve Fitting Line is not black but transparent. Build number: 2.6.0.v20100602-0949 Steps to reproduce: 1. New a chart, in Format Chart->Series->Value (Y) Series, tick "Shown Curve Fitting Line", click "Curve Fitting Line" button. 2. Select "Auto" for Color. Expected result: The line is shown with color black. Actual result: The line disappears. Error log: N/A
chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/LineAttributesComposite.java
/*
	 * Converts the specified model line style to an appropriate SWT line style
	 * constant
	 */
	private int getSWTLineStyle( LineStyle style )
	{
		if ( style.equals( LineStyle.DASHED_LITERAL ) )
		{
			return SWT.LINE_DASH;
		}
		else if ( style.equals( LineStyle.DASH_DOTTED_LITERAL ) )
		{
			return SWT.LINE_DASHDOT;
		}
		else if ( style.equals( LineStyle.DOTTED_LITERAL ) )
		{
			return SWT.LINE_DOT;
		}
		else
		{
			return SWT.LINE_SOLID;
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.
	 * Event)
	 */