Bug 128155 Set UrlRedirect to marker range, preview, can not work.
Set UrlRedirect to marker range, preview, can not work. Steps: Data source: sample db Data set: select * from customers 1.Create a bar chart 2.Go to "Select Data" tab, X series: row["CUSTOMERNAME"]; Y series: row["CREDITLIMIT"] 3.Go to "Format Chart" tab, select X axis, click "Markers" button, add a range, from 2.0 to 5.0; range color is yellow; click Interactivity button, add UrlRedirect; 4.Preview in web viewer Actual Results: 1.The interactivity can not work Expected Results: 1.The interactivity can work.
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGRendererImpl.java
sb.append(","); 
				}
				if (components.size() > 0)
					sb.append(")"); 
				elm.setAttribute("onmousedown", 
						"toggleLabelsVisibility(evt, " 
								+ sb.toString() + ")"); 							
				setCursor(elm);
	
			}
		}
		
		
	}
	/**
	 * Helper function that will determine if the source object is a series component of the chart.
	 * 
	 * @param src StructureSource that is stored in the primitive render event.
	 * @return null if the source object is not a series otherwise it returns the StructureSource.
	 */
	private StructureSource isSeries(StructureSource src){
		if (src instanceof WrappedStructureSource){
			WrappedStructureSource wss = (WrappedStructureSource)src;
			while (wss != null){
				if (wss.getType() == StructureType.SERIES) {
					return wss;
				}
				if (wss.getParent().getType() == StructureType.SERIES){
					return wss.getParent();
				}