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
public void handleEvent( Event event )
	{
		if ( cmbColor != null && cmbColor.equals( event.widget ) )
		{
			fireValueChangedEvent( LineAttributesComposite.COLOR_CHANGED_EVENT,
					cmbColor.getFill( ) );
		}
		else if ( cmbStyle != null && cmbStyle.equals( event.widget ) )
		{
			fireValueChangedEvent( LineAttributesComposite.STYLE_CHANGED_EVENT,
					getModelLineStyle( cmbStyle.getLineStyle( ) ) );
		}
		else if ( cmbWidth != null && cmbWidth.equals( event.widget ) )
		{
			fireValueChangedEvent( LineAttributesComposite.WIDTH_CHANGED_EVENT,
					Integer.valueOf( cmbWidth.getLineWidth( ) ) );
		}
	}
	/**
	 * Provides a method to override line styles list
	 * 
	 * @return style identifier array
	 */
	protected Integer[] getLineStyleItems( )
	{
		return new Integer[]{
				SWT.LINE_SOLID, SWT.LINE_DASH, SWT.LINE_DASHDOT, SWT.LINE_DOT
		};
	}
}