﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionWidgets v3 (previously FusionGadgets) / Using FusionWidgets  / Problem with HBullet Chart / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Thu, 21 Aug 2008 19:14:50 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Problem with HBullet Chart</title><link>http://www.fusioncharts.com/forum/Topic4434-17-1.aspx</link><description>I found the problem. The double quotes in the XML data needed to be replaced with single quotes and the % needed to be %25.&lt;/P&gt;&lt;P&gt;Mike</description><pubDate>Fri, 08 Feb 2008 17:50:38 GMT</pubDate><dc:creator>mbaith</dc:creator></item><item><title>Problem with HBullet Chart</title><link>http://www.fusioncharts.com/forum/Topic4434-17-1.aspx</link><description>Hello,&lt;P&gt;I am trying to use the HBullet.swf gadget with the following code, but I keep getting the error:&lt;/P&gt;&lt;P&gt;Line: 570&lt;BR&gt;Char: 410&lt;BR&gt;Error: Expected ')'&lt;BR&gt;Code: 0&lt;/P&gt;&lt;P&gt;[code]&lt;BR&gt;Here is the code in my ASP page:&lt;/P&gt;&lt;P&gt; strXML5 = ""&lt;BR&gt; strXML5 = strXML5 &amp;amp; "&amp;lt;chart plotFillColor='666666' plotFillAlpha='60' showPlotBorder='1' plotBorderColor='333333' plotBorderThickness='1' showValue='1' minorTMNumber='5' lowerLimit='0' upperLimit='120' canvasLeftMargin='20' canvasRightMargin='40' clickURL='https://apps.barksdale.com/extranet/Dashboard/Gallery/SalesSummaryMonth_YTD.html' numberSuffix='%' showBorder='0'&amp;gt;"&lt;BR&gt; strXML5 = strXML5 &amp;amp; "&amp;lt;colorRange&amp;gt;"&lt;BR&gt; strXML5 = strXML5 &amp;amp; "&amp;lt;color minValue=""0"" maxValue=""60"" code='FF654F'/&amp;gt;"&lt;BR&gt; strXML5 = strXML5 &amp;amp; "&amp;lt;color minValue=""60"" maxValue=""90"" code='F6BD0F'/&amp;gt;"&lt;BR&gt; strXML5 = strXML5 &amp;amp; "&amp;lt;color minValue=""90"" maxValue=""120"" code='8BBA00'/&amp;gt;"&lt;BR&gt; strXML5 = strXML5 &amp;amp; "&amp;lt;/colorRange&amp;gt;"&lt;BR&gt; strXML5 = strXML5 &amp;amp; "&amp;lt;value&amp;gt;90&amp;lt;/value&amp;gt;"&lt;BR&gt; strXML5 = strXML5 &amp;amp; "&amp;lt;/chart&amp;gt;"&lt;BR&gt;    Call renderChart("Gadgets/HBullet.swf", "", strXML5, "myNext5", 400, 60, false, true)&lt;BR&gt;&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;P&gt;&lt;BR&gt;Here is the code that it generates:&lt;/P&gt;&lt;P&gt;[code]&lt;/P&gt;&lt;P&gt; &amp;lt;!-- START Script Block for Chart myNext5 --&amp;gt;&lt;BR&gt; &amp;lt;div id='myNext5Div' align='center'&amp;gt;&lt;BR&gt;  Chart.&lt;BR&gt;  &lt;BR&gt; &amp;lt;/div&amp;gt;&lt;BR&gt;  &lt;BR&gt; &amp;lt;script type="text/javascript"&amp;gt; &lt;BR&gt;  //Instantiate the Chart &lt;BR&gt;  var chart_myNext5 = new FusionCharts("Gadgets/HBullet.swf", "myNext5", "400", "60", "0", "1");&lt;BR&gt;  &lt;BR&gt;  //Provide entire XML data using dataXML method &lt;BR&gt;  chart_myNext5.setDataXML("&amp;lt;chart plotFillColor='666666' plotFillAlpha='60' showPlotBorder='1' plotBorderColor='333333' plotBorderThickness='1' showValue='1' minorTMNumber='5' lowerLimit='0' upperLimit='120' canvasLeftMargin='20' canvasRightMargin='40' numberSuffix='%' showBorder='0'&amp;gt;&amp;lt;colorRange&amp;gt;&amp;lt;color minValue="0" maxValue="60" code='FF654F'/&amp;gt;&amp;lt;color minValue="60" maxValue="90" code='F6BD0F'/&amp;gt;&amp;lt;color minValue="90" maxValue="120" code='8BBA00'/&amp;gt;&amp;lt;/colorRange&amp;gt;&amp;lt;value&amp;gt;90&amp;lt;/value&amp;gt;&amp;lt;/chart&amp;gt;");&lt;BR&gt;    &lt;BR&gt;  //Finally, render the chart.&lt;BR&gt;  chart_myNext5.render("myNext5Div");&lt;BR&gt; &amp;lt;/script&amp;gt; &lt;BR&gt; &amp;lt;!-- END Script Block for Chart myNext5 --&amp;gt;&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;P&gt;Line 570 is this line from above:&lt;/P&gt;&lt;P&gt;[code]&lt;BR&gt;  var chart_myNext5 = new FusionCharts("Gadgets/HBullet.swf", "myNext5", "400", "60", "0", "1");&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mike</description><pubDate>Fri, 08 Feb 2008 17:17:10 GMT</pubDate><dc:creator>mbaith</dc:creator></item></channel></rss>