Bug 151552 Can't change the Data Set of a chart drag from a library
After creating a library with a chart,you use it and drag the chart to a report design.A error happen when you change the Data Set of the chart. 1.creat a library,add a chart into it ,then publish the library. 2.new a report and use the library ,drag the chart into the layout of the report,you can't change the data set of the chart,or a error will occur. Actual result:A error occur when you change the data set] Expected result:You can change the data set.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/PropertySearchStrategy.java
*/
	protected Object getPropertyFromSelf( Module module, DesignElement element,
			ElementPropertyDefn prop )
	{
		
		Object value = element.getLocalProperty( module, prop );
		if ( value != null )
			return value;
		
		StyleElement style = element.getStyle( module );
		if ( style != null )
		{
			value = style.getLocalProperty( module, prop );
			if ( value != null )
				return value;
		}
		return null;
	}
	/**
	 * Returns the property value from this element's parent, or its virtual
	 * parent. The value is only from local properties, or local style of its
	 * ancestor.
	 * 
	 * @param element
	 *            the element to start search parent
	 * @param module
	 *            module
	 * @param prop
	 *            definition of the property to get.
	 * @return property value, or <code>null</code> if no value is set.