Alexander

Members
  • Content count

    4
  • Joined

  • Last visited

About Alexander

  • Rank
    Forum Newbie
  1. <chart labelDisplay="WRAP"> <set label="ABCDEFG HIJKLM NOPQRSTUV WXYZ1" value="1" /> <set label="ABCDEFG HIJKLM NOPQRSTUV WXYZ2" value="1" /> </chart> test.html Data.xml
  2. Hi, Placing {br} between words gives us a text where all the words are in a separate line. In the most cases it would be excessive. Autowrapping would fit better if it worked properly. Sometimes autowrapping works. For example, when I set the chart size 400 (new FusionCharts("Column2D.swf", "myChartId", "400", "400");), the labels are shown in two lines. Or if one of the labels has {br}s, the second one will wrap automatically. It looks like there's a bug in a Flash engine.
  3. I use Flash to render charts. For the following chart I have ellipses instead of wrapping. Sometimes the wrapping works (for this example when you set the chart width to "400"). But I can't predict whether the wrapping will work or not, because it depends on the labels contents and the chart size. data.xml: <chart labelDisplay="WRAP"> <set label="ABCDEFG HIJKLM NOPQRSTUV WXYZ1" value="1" /> <set label="ABCDEFG HIJKLM NOPQRSTUV WXYZ2" value="1" /> </chart> index.html: <html> <head> <script type="text/javascript" src="FusionCharts.js"></script> </head> <body> <div id="chartContainer"></div> <script type="text/javascript"> var chrt = new FusionCharts("Column2D.swf", "myChartId", "600", "400"); chrt.setXMLUrl("data.xml"); chrt.render("chartContainer"); </script> </body> </html>
  4. When rendering as flash, the order of bars is correct. But in the Javascript rendering mode the order is reverse. See http://www.fusioncharts.com/demos/gallery/column-and-bar/chart.asp?id=msbar3d_1 for example. In Javascript version 1998 goes before 1996.