dcummiskey

Members
  • Content count

    3
  • Joined

  • Last visited

About dcummiskey

  • Rank
    Forum Newbie
  1. asp.net c# - invalid xml

    that worked. thanks.
  2. Hello - I'm trying to implement the angular gauge in an asp.net page with C#. I keep getting an invalid XML but the XML looks valid. I've even taken the demo sample and tried using that and had no luck. We have fusioncharts as well and I'm wondering if we have to use a different .js file or .cs for gadgets versus the charts? Here is my xml output: <chart lowerLimit='0' upperLimit='100' lowerLimitDisplay='' upperLimitDisplay='' gaugeStartAngle='180' gaugeEndAngle='0' palette='1' numberSuffix='%' tickValueDistance='20' showValue='1'><colorRange><color minValue='0' maxValue='75' code='FF654F'/><color minValue='75' maxValue='100' code='8BBA00'/></colorRange><dials><dial value='7.61' rearExtension='10'/></dials></chart> here is the c# code that renders the html: string xmlData;//Generate the chart elementxmlData = "<chart lowerLimit='0' upperLimit='100' lowerLimitDisplay='' upperLimitDisplay='' gaugeStartAngle='180' gaugeEndAngle='0' palette='1' numberSuffix='%' tickValueDistance='20' showValue='1'>";xmlData += "<colorRange>";xmlData += "<color minValue='0' maxValue='75' code='FF654F'/>";xmlData += "<color minValue='75' maxValue='100' code='8BBA00'/>";xmlData += "</colorRange>";xmlData += "<dials>";foreach ( DataRow row in dt.Rows){xmlData += "<dial value='" + row["pt"].ToString() + "' rearExtension='10'/>";}xmlData += "</dials>";xmlData += "</chart>";Response.Write(xmlData);//Create the chart - Pie 3D Chart with data from xmlDatalblChart.Text = InfoSoftGlobal.FusionCharts.RenderChartHTML("FusionCharts/AngularGauge.swf", "", xmlData,"fChart", "200", "240", false); thanks, Dan
  3. Printing broken in Safara and Firefox

    Most of our users will use the print option from the browser. Telling them to right click on the chart and print that, then to print the rest of the page with the data that was used to generate the chart is not going to work for us as an implementation. Because of this we will not be using your product. More of a fyi. Otherwise, the charts look great. thanks, Dan