Bug 183895 Legend Text Area Font properties do not take effect [0001]
Description: Legend Text Area Font properties do not take effect. Build number: 2.2.0.v20070424-0630 Steps to reproduce: 1. New a Chart. 2. In "Format Chart" tab, tick "Show Values", click "Block" button, Edit Font, set Font: Arial, Size:16, Color: Yellow, Style:Bold&Italic, Rotation: 45 degree. Expected result: Font properties take effect. Actual result: Font properties does not take effect. Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/BaseRenderer.java
{
		ArrayList al = new ArrayList( );
		for ( int i = 0; i < ll.length; i++ )
		{
			if ( Double.isNaN( ll[i].getX( ) ) || Double.isNaN( ll[i].getY( ) ) )
			{
				continue;
			}
			al.add( ll[i] );
		}
		if ( ll instanceof Location3D[] )
		{
			return (Location3D[]) al.toArray( new Location3D[al.size( )] );
		}
		else
		{
			return (Location[]) al.toArray( new Location[al.size( )] );
		}
	}
	/**
	 * Check the if the given value is NaN.
	 * 
	 * @param value
	 * @return
	 */
	protected static boolean isNaN( Object value )
	{
		return ( value == null )
				|| ( value instanceof Number && Double.isNaN( ( (Number) value ).doubleValue( ) ) );
	}