Smita Report post Posted November 17, 2011 I have a simple bar chart that I am displaying using javascript (not flash). The labels on the Y axis are always slanted and also truncated. I have tried various chart elements like useEllipsesWhenOverflow='1' and labelDisplay=WRAP' etc. but the labels are always truncated. What am I missing? How can I display the labels on the Y axis to show properly? Here is the code fragment: <div id="chartdiv" align="center"></div> <script type="text/javascript"><!-- FusionCharts.setCurrentRenderer('javascript'); var chart = new FusionCharts("fusioncharts_js/Bar2D.swf", "myChart", "50%", "50%", "1", "1"); chart.setXMLData("<chart useEllipsesWhenOverflow='1'><set label='Outdoor Products' value='119.00'/><set label='Commercial Products' value='75.6'/></chart>"); chart.render("chartdiv"); // --> </script> </div> Share this post Link to post Share on other sites
Guest Angshu Report post Posted November 18, 2011 Hi, Welcome to FusionCharts Forum! Could you please send us the XML code to test it from our end? Please confirm the FusionCharts version you are using. Awaiting for your response. Share this post Link to post Share on other sites
Smita Report post Posted November 18, 2011 The xml is posted in my question. Here it is again: <chart useEllipsesWhenOverflow='1'><set label='Outdoor Products' value='119.00'/><set label='Commercial Products' value='75.6'/></chart> This is v3.2.1. Share this post Link to post Share on other sites
Guest Angshu Report post Posted November 18, 2011 Hi, Thanks for your response. Could you please download the latest version of FusionCharts(v 3.2.2) from: http://www.fusioncharts.com/download/ ? Hope this solves your problem. Share this post Link to post Share on other sites
Smita Report post Posted November 18, 2011 Its much better in v3.2.2. The labels display in full now. thanks. However, if I reduce the window size, the labels still get cut off. The release notes mention "smart labels with auto-wrapping and ellipses" but I am not seeing the wrapping or the ellipses. Any ideas? Share this post Link to post Share on other sites
Smita Report post Posted November 18, 2011 One more thing. With v3.2.2 I noticed that on the iPad a single tap initiates the drill down (it used to be double tap in v3.2.1). This is fine, however I can no longer scroll the chart with the finger touches. It appears that it is not propagating touch events to the UIWebView anymore. Can I change this behavior to what it was earlier? Share this post Link to post Share on other sites
Guest Angshu Report post Posted November 21, 2011 Hi, Thanks for your response. Could you please send us a screenshot or any live link of your requirement? Awaiting for your response. Share this post Link to post Share on other sites
Smita Report post Posted November 21, 2011 I do not have a live link to provide as I am behind a firewall. Attached is a very simple example. The attached zip has 2 html files. Unzip it to any web server (I use tomcat) which has the fusion charts js library. It refers to <script type="text/javascript" src="fusioncharts-321/FusionCharts.js"></script>. Notice the fusioncharts-321. With v 3.2.1, on an iPad (use Safari), when you are on http://<your host>:<your port>/fusionchart.html you can pinch zoom and then drag to scroll the chart. However, if you access the same by simply replacing the fusioncharts library to v 3.2.2, you can still pinch zoom, but you can no longer scroll. It appears that if there is a link specifid on the chart the scroll functionality is lost. fusion-example.ZIP Share this post Link to post Share on other sites