sandy_ptc Report post Posted March 15, 2010 (edited) I am trying to use displayValue attribute of set tag for a Stacked Column 2D but the value mentioned in value tag is being shown and not the display value. I think this is a bug in FusionChart. The XML is attached. Thanks Sandeep Stacked.xml Edited March 15, 2010 by Guest Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 15, 2010 Hi Sandeep, Welcome to FusionCharts Forum. The attribute "DisplayValue" is an attribute of the <tredlines> element and would not be effective as <set> element attribute. In case you wish to display the values of the dataplots, please try setting the attribute "showvalue" as '1'. Hope this helps. Share this post Link to post Share on other sites
sandy_ptc Report post Posted March 15, 2010 (edited) Hi Basundhara Thanks alot of your speedy reply. If you look at the documentation at the below link "http://www.fusioncharts.com/Docs/Contents/ChartSS/StCol2D.html" and check the table under "set" element you will find a displayValue attribute and the corresponding discription says "If instead of the numerical value of this data, you wish to display a custom string value, you can specify the same here. Examples are annotation for a data item etc." This is precisely the functionality that I am looking for only that it does not seem to be working. Using the showValue I am able to get the numerical value in the bar stack but I want to display a different value than the data value. Edited March 15, 2010 by Guest Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 15, 2010 Hi Sandeep, We appologise for the inconvinience. Please try using "displayValue" attribute in the <set> element and also please try setting the "showvalues"/"showvalue" attribute of the <chart>/<set> element(s) to '1'. Hope this helps. Share this post Link to post Share on other sites
sandy_ptc Report post Posted March 15, 2010 Hi Basundhara I have tried using the displayValue but it is not working. Can you please try the XML that I have attached with the initial message and check if there is any thing wrong with it or if this is a defect in FusionChart ? Thanks Sandeep Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 15, 2010 Hi Sandeep, Just noticed, can you please use the encoded form of % as %25 in your xml and try once. Might help. Srividya Share this post Link to post Share on other sites
sandy_ptc Report post Posted March 15, 2010 Hi Srividya I have removed all reference to % in the attached XML but still the displayValue does not seem to be working. Thanks Sandeep Stacked.xml Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 15, 2010 Can you please check the version of FusionCharts you are using. You can view the version by turning on the debugMode. Thanks. Share this post Link to post Share on other sites
srividya_sharma Report post Posted March 15, 2010 This feature of showing text for each data item instead of numerical value was added in v3.1. Please see: http://www.fusioncharts.com/docs/Contents/WhatsNew.html Hope this helps. Srividya Share this post Link to post Share on other sites
sandy_ptc Report post Posted March 18, 2010 Yes after switching to version 3.1 I am able to see the displayValue as expected. Thanks alot for all your help. Thanks Sandeep Share this post Link to post Share on other sites
Guest Rajroop Report post Posted March 18, 2010 Three cheers to Srividya for this one. Share this post Link to post Share on other sites