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
if (elm != null) {
			for (int x = 0; x < triggers.length; x++) {
				Trigger tg = triggers[x];
				
				final StructureSource src = (StructureSource) ie.getSource( );
				
				switch (tg.getAction().getType().getValue()) {
				case ActionType.SHOW_TOOLTIP:
					String tooltipText = ((TooltipValue) tg.getAction().getValue()).getText();
					
					if ((tooltipText != null) && (tooltipText.trim().length() > 0)){
						Element title = svggc.dom.createElement("title"); 
						title.appendChild(svggc.dom
								.createTextNode(tooltipText));
						elm.appendChild(title);
						elm.setAttribute("onmouseout", "TM.remove()"); 
						elm.setAttribute("onmousemove", "TM.show(evt)"); 
					}
					break;
				case ActionType.URL_REDIRECT:
					URLValue urlValue = ((URLValue) tg.getAction().getValue());
					
					if ( urlValue.getBaseUrl().startsWith("#")){ 
						Element aLink = ((SVGGraphics2D)_g2d).createElement("g"); 
						aLink.setAttribute("onclick", "parent.document.location='"+urlValue.getBaseUrl()+"';"); 
						aLink.setAttribute("style", "cursor:pointer"); 
						aLink.appendChild(elm);
						elm = aLink;