Hari Gopal Report post Posted July 9, 2010 hi Friends, I have a very particular request on a stacked column chart. I want to hide any item that has a value of 0. For example in the xml provided we have a zero value in the Category Product E and Series 2006, I need to hide that, not just the value but that green bar itself. Can you please help me with this? The xml and the chart screenshot is attached herewith. Thanks Hari StCol3D.xml Share this post Link to post Share on other sites
Sanjukta Report post Posted July 9, 2010 HI Hari, Welcome to FusionCharts Forum. Could you please try not to provide any value to the <set> elements whose actual value is "0" and you wish to hide? Ref.- <set value="" /> Hope this resolves you issue. Share this post Link to post Share on other sites
Hari Gopal Report post Posted July 10, 2010 (edited) Hi Sanjukta, Yes it solved my issue, you are a Life Saver . Thank you so much for your help. Regards Hari Edited July 10, 2010 by Guest Share this post Link to post Share on other sites
Sanjukta Report post Posted July 10, 2010 Hi Hari, You are most welcome. Glad that I could help you in resolving the issue. Please feel free to revert in case you have any further queries. Till then, Happy FusionCharting! Share this post Link to post Share on other sites
Peter Report post Posted October 19, 2010 Using <set value="" /> make it works with the Flash version of stacked pie chart. However, the HTML5 / JavaScript stacked pie chart went wrong unless I used '<set value="0" />'. Is there a way to fix it? I want to use the Stacked bar chart using JavaScript solution but it should not show any line when the value is 0. Currently I use Fusion Chart 3 licensed version. Share this post Link to post Share on other sites
Sanjukta Report post Posted October 19, 2010 Hi, Could you please confirm the version you are currently using is FusionCharts v3.2 or FusionCharts v3.2.1? This is an issue that is fixed in the latest .js file provided with the latest version FusionCharts v3.2.1. In case you are an existing customer, please send us the request for the latest .js file at [email protected]. Also, you can try downloading the latest version, i.e, FusionCharts v3.2.1, with the help of the following link: http://www.fusioncharts.com/Download.asp Hope this helps. Share this post Link to post Share on other sites
Peter Report post Posted October 20, 2010 Hi, Could you please confirm the version you are currently using is FusionCharts v3.2 or FusionCharts v3.2.1? This is an issue that is fixed in the latest .js file provided with the latest version FusionCharts v3.2.1. In case you are an existing customer, please send us the request for the latest .js file at [email protected]. Also, you can try downloading the latest version, i.e, FusionCharts v3.2.1, with the help of the following link: http://www.fusioncha...om/Download.asp Hope this helps. I can confirm that I use Fusion Chart v3.2.1 Play with different data set, I realize the bug was triggered when the first value within a dataset is empty. For example: Example 1: This one does NOT work (the first value inside a dataset is empty) {"chart": {"caption": "My caption"}, "categories": [{"category": [{"label": "Product A"},{"label": "Product B"},{"label": "Product C"}]}], "dataset": [ { "seriesname": "2004", "color": "AFD8F8", "showvalues": "0", "data": [ { "value": "700" }, { "value": "50" }, { "value": "173" }] }, { "seriesname": "2006", "color": "8BBA00", "showvalues": "0", "data": [ { "value": "" }, { "value": "100" }, { "value": "52" }] } ] } Example 2: This one works (the second value inside a dataset is empty) {"chart": {"caption": "My caption"}, "categories": [{"category": [{"label": "Product A"},{"label": "Product B"},{"label": "Product C"}]}], "dataset": [ { "seriesname": "2004", "color": "AFD8F8", "showvalues": "0", "data": [ { "value": "700" }, { "value": "50" }, { "value": "173" }] }, { "seriesname": "2006", "color": "8BBA00", "showvalues": "0", "data": [ { "value": "100" }, { "value": "" }, { "value": "52" }] } ] } Example 3: This one works (the first value inside a dataset is 0) {"chart": {"caption": "My caption"}, "categories": [{"category": [{"label": "Product A"},{"label": "Product B"},{"label": "Product C"}]}], "dataset": [ { "seriesname": "2004", "color": "AFD8F8", "showvalues": "0", "data": [ { "value": "700" }, { "value": "50" }, { "value": "173" }] }, { "seriesname": "2006", "color": "8BBA00", "showvalues": "0", "data": [ { "value": "0" }, { "value": "100" }, { "value": "52" }] } ] } I'd like to make the first example working, that is, empty value should be used regardless where it is within the dataset. Share this post Link to post Share on other sites
Sanjukta Report post Posted October 20, 2010 Hi, We apologize for the inconvenience. This issue has been fixed in the FusionCharts v3.2.2 Development Beta. Could you please mail us at [email protected] stating your Order ID so that we can proceed further with this? Looking forward to your feedback. Share this post Link to post Share on other sites
Peter Report post Posted October 24, 2010 (edited) Hi, We apologize for the inconvenience. This issue has been fixed in the FusionCharts v3.2.2 Development Beta. Could you please mail us at [email protected] stating your Order ID so that we can proceed further with this? Looking forward to your feedback. This v3.2.2 Development Beta version has fixed the bug that I report. Thank you for your fast response. Please notify me when a full release is available. Peter Edited October 24, 2010 by Peter Share this post Link to post Share on other sites
Sanjukta Report post Posted October 25, 2010 Hi Peter, You are always welcome. We would surely update you as soon as we officially release the FusionCharts v3.2.2. Thank you for your continued patience and patronage. Share this post Link to post Share on other sites
pcoanet Report post Posted May 13, 2013 Hello I'm using version 3.2.3-sr3.5347 and the issue seems to be still pending! I cannot confirm if the issue was fixed in version 3.2.2. If the first column contains an empty value, the graph rendering is interrupted by a Javascript error: Uncaught TypeError: Cannot read property 'n' of undefined in FusionCharts.HC.js:513. Is there a workaround or a fix? Thanks Philippe Share this post Link to post Share on other sites
Swarnam Report post Posted May 14, 2013 Hi Philippe, Welcome to FusionCharts Forum post. Can you please try downloading the latest version of FusionCharts XT(3.3.1-SR1) and check if your issue has been resolved? It has lot of bug fixes and improvements. If it does not resolve your issue, can you please share the XML for further testing? Download link: http://www.fusioncharts.com/download/trials/ Hope this helps. Share this post Link to post Share on other sites
pcoanet Report post Posted June 11, 2013 Thanks for your reply. The issue is fixed in the version I downloaded (3.3.1-SR2). I need to upgrade my current version. My company bought a version at least 3 years ago. Is there an upgrade for old versions? Thanks Philippe Share this post Link to post Share on other sites
Swarnam Report post Posted June 12, 2013 Hi Philippe, Glad to know your issue has been resolved. Regarding upgrade, please drop a mail to "[email protected]". Share this post Link to post Share on other sites