|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 10/3/2008 2:42:18 AM
Posts: 2,117,
Visits: 498
|
|
| Against which chart are you using this XML code? You need to use dataURL method and specify the code as: <br>
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 3/19/2008 12:10:36 PM
Posts: 20,
Visits: 39
|
|
| I'm using the dataXML method. Why would that make a difference?
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 10/3/2008 2:42:18 AM
Posts: 2,117,
Visits: 498
|
|
| If you're using the dataXML method, there would be a conflict between the < specified in the XML, the actual XML element lt opening sign and the HTML lt sign to embed the chart. So, you need to use this in dataURL method.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/25/2008 3:29:59 PM
Posts: 4,
Visits: 9
|
|
| If you want to use the dataXML method, I found that you need to URL encode the ampersand( & ) : %26lt;br%26gt; instead of: <br> It works for me, but I know that FusionCharts also does not like the '%' operator in the XML, so you may still receive an 'Invalid XML Data' error with this method. I just know it worked for me. I'm using C# with ASP.NET 2.0 and I'm randomly generating my XML as strings in the Code-Behind before I push out to the client. Hope this helps...
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 10/3/2008 2:42:18 AM
Posts: 2,117,
Visits: 498
|
|
TO use % in dataXML method, encode it as %25
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/25/2008 3:29:59 PM
Posts: 4,
Visits: 9
|
|
| Ok, now I understand. I did not require the use of the '%' character for the code I mentioned. To use the '%' the way you are referring, Pallav, yes that is how I would need to use it. However, the '%' character in the code I provided above is used to encode the '&' character where by '&' --> %26. This allowed me to use the above method to put HTML in my trendlines using the dataXML method and not the dataURL method.
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 9/30/2008 5:02:53 PM
Posts: 12,
Visits: 18
|
|
| I have tried to replicate this but have been unsuccessful. I am using FusionMaps, and have included the following XML (using dataURL method): <styles> <definition> <style name="myHTMLFont" type="font" isHTML="1" /> </definition> <application> <apply toObject="TOOLTIP" styles="myHTMLFont" /> </application> </styles> Map entities have toolText="line one <br> line two" ...but line breaks do not render. They are being parsed, however, because my toolTip renders as "line one line two", without the <br> tag (which does display if I set isHTML="0"). toolText="<b> bold text </b>" correctly renders as bold text. <p> and <br> tags, however, do not produce any effect. Help! Neil
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 9/30/2008 5:02:53 PM
Posts: 12,
Visits: 18
|
|
|
|
|