anirbansarkar Report post Posted March 10, 2010 Many thanks. It was of immense help. Can I do a segmented bar chart using Fusion charts? If yes, where can I get some help material? Thanks and regards, Anirban Sarkar Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 10, 2010 Hi Anirban, Could you please try using "StackedBar2D.swf/StackedBar3D.swf " file of the Trial pack of FusionCharts for the same. In case this does not suits your requirement, could you please specify the issue a bit elaborately? Awaiting your reply. Share this post Link to post Share on other sites
anirbansarkar Report post Posted March 10, 2010 Many thanks for your response. Can you kindly provide me with the trial version of the two .swf files that you have specified as I do not have them. Thanks and Regards, Anirban Sarkar Share this post Link to post Share on other sites
Guest Madhumita Report post Posted March 10, 2010 Hello, You can download a fresh Trial pack from the link below: www.fusioncharts.com/download . Share this post Link to post Share on other sites
anirbansarkar Report post Posted March 11, 2010 Hi, I tried using the Stacked2D and Stacked3D chart but it is not producing the desired output. I am underlining my requirement below: In the X axis, I need to plot the different financial years, say 05-06 to 09-10. So there will be 5 plots in the X axis. Now every plot will have a single bar (i.e total 5 bars in the chart) and each bar will be further divided into 4 quarters for that financial year. So my ultimate requirement is 1 bar divided into four quarters (depicted in four different shades) for a financial year. I hope I have been able to make my point. Thanks and regards. Anirban Sarkar Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 11, 2010 Hi Anirban, Please refer to the sample that we are sending you as an attachment. Hope this helps. stacked bar.zip Share this post Link to post Share on other sites
anirbansarkar Report post Posted March 11, 2010 Many thanks for the response. It seems I am going wrong somewhere. I am attaching the code for your kind advice. Thanks and regards. Anirban Sarkar chart.zip Share this post Link to post Share on other sites
anirbansarkar Report post Posted March 24, 2010 Hi all, I have a bar graph which charts some values along both the axis. My requirement is as follows: I want to have a link on each of the bars and on clicking on each of the links, a pop up page is to be opened which will display some data in tabular format. I am attaching the code that I have coded for the purpose but is not quite sure where to establish the link. Kindly refer the attached zip file. Thanks and regards. Anirban Sarkar code.zip Share this post Link to post Share on other sites
Ayan Pal Report post Posted March 25, 2010 (edited) Hi anirban, please change your code like this. $strLink = "link=P-detailsWin,width=400,height=300,toolbar=no,scrollbars=no, resizable=no-display_details.php%3Fparam%3D$pass_param"; $FC_gen->addChartData($row_gen[0],$strLink); please refer to bellow links- http://www.fusioncharts.com/docs/Contents/DrillDown/PopUps.html http://www.fusioncharts.com/docs/Contents/PHPClassAPI/Functions.html Edited March 25, 2010 by Guest Share this post Link to post Share on other sites
anirbansarkar Report post Posted March 26, 2010 Many thanks for your response. Just another query!!! Can I change the default colour of the bars in the bar graph? If yes, from where do I do it? Thanks and regards. Anirban Sarkar Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 26, 2010 Hi Anirban, Please try setting the required color in the "color" attribute of the <set> element for the same. Ref.- http://www.fusioncharts.com/docs?/AttDesc/DataPlot.html Hope this helps. Share this post Link to post Share on other sites
anirbansarkar Report post Posted March 26, 2010 Many thanks for your response!!! Share this post Link to post Share on other sites
anirbansarkar Report post Posted March 26, 2010 I have a bar graph where every generated bar has a link which opens a popup window to display some tabular information. I want to specify a user defined colour to the individual bars and over ride the default colour. The code I am using is given below : <CODE> $FC_gen->addChartData($row_gen[0],"link=javascript:open_pop($sub_chart_type,$wing_cd,$fin_yr_no,$ctr_gen,0)",'color=00436e'); </CODE> When I am specifying the bar colour by using 'color=00436e', the bars of the chart are not appearing. It seems that I am going wrong somewhere. Any help will be highly appreciated. Thanks and regards, Anirban Sarkar Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 26, 2010 Hi Anirban, Thanks for your appreciation. Could you please send us the XML codes that you are using, sothat we might test it in our lab? Awaiting your reply. Share this post Link to post Share on other sites
anirbansarkar Report post Posted March 26, 2010 (edited) Many thanks for your response. As per your requirement, I am giving the code snippet in the attached file. Hope this will suffice. Another thing, from where can I control the maximum and minimum range of the Y axis, i.e my Y axis data range will vary from say -273 to 13570. Thanks and regards, Anirban Sarkar code.zip Edited March 27, 2010 by Guest Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 29, 2010 Hi Anirban, Please re-check your code and try mentioning the "color" attribute for each <set> element for the same. Also, please refer to the link that we are sending you as all the detailed information on the same are elaborately described in our online documentation. Ref.- http://www.fusioncharts.com/docs?/PHP_BasicExample.html http://www.fusioncharts.com/docs?/AttDesc/DataPlot.html http://www.fusioncharts.com/docs/ Hope this helps. Share this post Link to post Share on other sites
anirbansarkar Report post Posted March 30, 2010 Many thanks for your response. The links were very helpful and I could finally change the colour of the linked bars. But still one problem is persisting. Going through the article I could make out that the setAdaptiveYMin='1' chart attribute will automatically adjust the range of the Y axis based on the values that is being sent to XML. But when I am implementing it in my chart, it is not working. I also tried using the setAdaptiveYMin='1' chart attribute in the chart tag as well but without any success. I am using the following: <CODE> $FC_iot->addChartData($row_q1[0],"setAdaptiveYMin='1';link=javascript:open_pop_major($sub_chart_type,$wing_cd,$fin_yr_no,3,$org_id)"); </CODE> Any help will be highly appreciated. Thanks and regards. Anirban Share this post Link to post Share on other sites
Ayan Pal Report post Posted March 30, 2010 Hi Anirbansarkar, "setAdaptiveYMin" is a chart tag attribute. so you have to add it in chart tag. but here you are adding it in set tag that's why it is not working. you may refer to the following links--> 1.http://www.fusioncharts.com/docs/ (Chart XML API) 2.http://www.fusioncharts.com/docs/Contents/PHPClassAPI/FirstChart.html Share this post Link to post Share on other sites
anirbansarkar Report post Posted March 31, 2010 Many thanks for response. I have been able to accomplish my purpose by passing the setadaptive min in the chart parameter section. Thanks and Regards, Anirban Sarkar Share this post Link to post Share on other sites
Guest Basundhara Ghosal Report post Posted March 31, 2010 Hi Anirban, Thanks for sharing the idea. Glad that your issue is resolved. Keep smiling and keep FusionCharting. Share this post Link to post Share on other sites
anirbansarkar Report post Posted June 1, 2010 Back after a long time I am plotting a bar graph where some divisions like Generation, Mains etc come in the x axis and the corresponding values appear along the y axis. I want to specify a particular colour for each of the divisions plotted. Previously, I was plotting with a uniform color which I was specifying the dataset tag. But in this case that will obviously not work. I am attaching the relevant part of the code for your reference, if required. Regards. code.zip Share this post Link to post Share on other sites
Charan Report post Posted October 13, 2011 Can we display a sum value (datavalue) on top of the bar in StackedColumn2D chart? Instead of showing separately for each section? Share this post Link to post Share on other sites
Sanjukta Report post Posted October 14, 2011 Hi, Could you please confirm whether the data values shown on top of each stacked column is the sum? (See attached screenshot) This is because the data for each <et> element is displayed inside each plot whereas the sum is shown on top. Could you please send us the relevant XML data so that we might test it? Awaiting your reply. Share this post Link to post Share on other sites