ChartsJazz Report post Posted March 31, 2010 I want to put a line break in X-axis labels. I followed the instructions at http://www.fusioncharts.com/docs/Contents/TTip_Lines.html under the heading "Applying HTML to labels" and it doesn't work. I get "Invalid XML data." I am using the dataXML method with Classic ASP. Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 31, 2010 Hi Welcome to FusionCharts Forum! Can you please post the xml that you are using to achieve this? Can you please tell us the version of FusionCharts you are using? ( You can get the version by turning on the debugMode ) . Thanks Srividya Share this post Link to post Share on other sites
ChartsJazz Report post Posted April 1, 2010 I am using FusionCharts v. 3.1.1 Enterprise. Below is what I think is the relevant part of the code, copied from View Source in IE7. If you want to see the entire code for the chart, let me know. <set label='2<BR>05' value='119904' toolText='04/01/2005 - 06/30/2005: 119,904' color='0000ff'/> <styles><definition><style name='myHTMLFont' type='font' face='Verdana' size='12' isHTML='1'/></definition><application><apply toObject='DATALABELS' styles='myHTMLFont' /></application></styles> Share this post Link to post Share on other sites
Guest Rajroop Report post Posted April 1, 2010 Hi, Could you please try using ' ' as a Line Break for this? I hope this helps. Share this post Link to post Share on other sites
ChartsJazz Report post Posted April 1, 2010 Rajroop,Thanks. worked. But the documentation at the link I listed in my original post on this topic said to use ;ltBRgt; Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted April 1, 2010 Hi, The link of our documentation that you have mentioned in your post display < for '<' and > for '>' of the <br> tag of HTML. Ref.- <set label='John Miller<BR>Score: 420<BR>Rank:2' value='420' /> This is a second way for line-break. I hope this helps. Share this post Link to post Share on other sites
ChartsJazz Report post Posted April 5, 2010 Basundhara, If you look at the code I included in my earlier post, you will see that "<BR>" is where I started and that does not work. <set label='2<BR>05' value='119904' toolText='04/01/2005 - 06/30/2005: 119,904' color='0000ff'/> <styles><definition><style name='myHTMLFont' type='font' face='Verdana' size='12' isHTML='1'/></definition><application><apply toObject='DATALABELS' styles='myHTMLFont' /></application></styles> Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted April 6, 2010 Hi, We aplogize for the inconvenience. Thanks for sharing and informing us about the small discrepancy in our documentation. Please try applying the "Styles" functionality on "TOOLTIP" object as well. Ref.- <set label='2<BR>05' value='119904' toolText='04/01/2005 - 06/30/2005: 119,904' color='0000ff'/> <styles> <definition> <style name='myHTMLFont' type='font' face='Verdana' size='12' isHTML='1'/> </definition> <application> <apply toObject='DATALABELS' styles='myHTMLFont' /> <apply toObject='TOOLTIP' styles='myHTMLFont' /> </application> </styles> Hope this helps. Share this post Link to post Share on other sites
ChartsJazz Report post Posted April 6, 2010 Basundhara, I want the line break in the X axis labels as in "set label='2<BR;>05'" , not the tooltips. Even so, I tried applying the style to the TOOLTIP object, which makes no sense. It didn't make any difference; I still get "Invalid XML data." "set label='2 05'" with the style applied to DATALABELS works. The documentation is just wrong regarding using "<BR;>" for a line break in the X axis labels. There is no second method. Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted April 7, 2010 Hi, Please refer to the sample that we are sending you as an attachment. Hope this helps. linebreak.zip Share this post Link to post Share on other sites
[email protected] Report post Posted August 3, 2017 I tried "{br}" and it worked for me in XT version. Share this post Link to post Share on other sites