dinhhung09138 Report post Posted November 26, 2013 Hi My company by funsion chart TX from 2011. Now, I'm developing a dashboard, It display on Chrome, FireFox, Safary and IE10 but don't display under IE10. I'm using Asp.net and code-behind Here is my code: string Color = (!_PrevYear ? "999999" : "4b9fdc"); string retValue = ""; string strXML = ""; strXML +="<chart bgColor='FFFFFF' numDivLines='0' canvasBorderThickness='0' "; strXML +=" showlabels='0' canvasMargin='0' placevaluesinside='1' showTooltip='1' "; strXML +=" captionPadding='0' lablePadding='0' canvasPadding='0' valuePadding='0' "; strXML +=" showShadow='0' showBorder='0' "; strXML += " baseFont='Arial' baseFontSize='9' baseFontColor='ffffff' outCnvBaseFont='Arial' "; strXML +=" plotGradientColor='' plotBorderColor='ffffff' "; strXML +=" rotateValues='0' showyaxisvalues='0' "; strXML +=" chartLeftMargin='0' chartRightMargin='0' chartTopMargin='0' chartBottomMargin='0' "; strXML +=" yAxisNamePadding='0' xAxisNamePadding='0' "; if (dt == null || dt.Rows.Count == 0) return "<div style='text-align:center;padding-top:7px;'> No data available </div>"; if (!_PrevYear) { strXML += " >"; DataRow[] dr = dt.Select("IDS='" + IDS + "' AND YEAR=" + _Year + " AND MONTH=" + _Month); if (dr.Length > 0) { for (int i = 0; i < dr.Length; i++) { if (ValueSelected == "avgtimeonsite") { strXML += "<set value='" + dr[ValueSelected].ToString() + "' displayValue='" + dr["DISPLAYEDTIME"].ToString() + "' color='" + Color + "' "; strXML += " toolText='Time on site (AVG){br}" + dr["DISPLAYEDTIME"].ToString() + " ' "; strXML += " />"; } else { if (ValueSelected == "visits" || ValueSelected == "pageviews" || ValueSelected == "uniquepageviews") { strXML += "<set value='" + dr[ValueSelected].ToString() + "' displayValue='" + string.Format("{0:#,##0}", int.Parse(dr[ValueSelected].ToString())) + "' color='" + Color + "' "; strXML += " toolText='" + (ValueSelected == "visits" ? "Visits" : (ValueSelected == "pageviews" ? "Pageviews" : "Unique Pageviews")) + "{br}"; strXML += string.Format("{0:#,##0}", int.Parse(dr[ValueSelected].ToString())) + " ' "; strXML += " />"; } else { strXML += "<set value='" + dr[ValueSelected].ToString() + "' displayValue='" + dr[ValueSelected].ToString() + @"' color='" + Color + "' "; strXML += " toolText='" + (ValueSelected == "visitbouncerate" ? "Bounce Rate (%)" : "Pages / Visits") + "{br}"; strXML += dr[ValueSelected].ToString() + "' "; strXML += " />"; } } } strXML += "<styles>"; strXML += " <definition>"; strXML += " <style name='myToolTipFont' type='font' font='Arial' size='11' color='4b9fdc'/>"; strXML += " <style name='myValuesFont' type='Arial' size='10' color='4b9fdc'/>";// bold='1' bgColor='666666' borderColor='666666' strXML += " </definition>"; strXML += " <application>"; strXML += " <apply toObject='ToolTip' styles='myToolTipFont' />"; strXML += " <apply toObject='DataValues' styles='myValuesFont' />"; strXML += " </application>"; strXML += "</styles>"; strXML +="</chart>"; FusionCharts.SetRenderer("javascript"); retValue = FusionCharts.RenderChart(GlobalBlue.Globals.ApplicationPath + "Charts/Bar2D.swf", "", strXML, idContent, "300", "40", false, false); } else { retValue = "<div style='text-align: center'>(No data to display)</div>"; } } ltr_displaychart.Text = retValue; I want to know what problem? Can you help me? awaiting your response. regards Error image Share this post Link to post Share on other sites