anirbansarkar
Members-
Content count
40 -
Joined
-
Last visited
Everything posted by anirbansarkar
-
Hi, I want to create a multi series column stacked chart where the bank deposit dates will appear in the X axis and there will be a stacked column against each of the deposit dates. The stacks will consist of amount deposited in different banks for that particular date. Kindly note that the number of stacks in each column will not be fixed as it will depend on the number of banks where the amount has been deposited for the day. To be more specific, the number of stacks for one date can be three whereas for another date it can be five and so on. The entire stuff has to be database driven. Is such a kind of chart possible using fusion charts? I have gone through the chart gallery for stacked charts and in all the examples given, I find that the number of stacks across all the columns are fixed. If this is possible, kindly help. Thanks and regards, Anirban Sarkar
-
Dear All, I need to generate a 2D bar chart where the name of some cash offices will come in the vertical axis and the amount collected against each cash office will be plotted in the horizontal axis. Unfortunately, I am not able to generate the chart. I am using PHP and MySQL. Any early help will be highly appreciated. Thanks. Anirban Sarkar
-
Hi All, I am using fusion charts to generate a column chart. The chart is appearing perfectly but the values that are showing against the columns are appearing in K, which I do not want. I want to display the actual values. Kindly help. Regards, Anirban
-
Dear All, I am using the undergiven snippet of code to change the font colour of text in the chart canvas but it is not working. The snippet of code follows : //******CODE STARTS******* $strParam="caption=NON CASHOFFICE WISE COLLECTION ($prestyr-$preendyr AND $curstyr-$curendyr);subcaption=;xAxisName=SERVICE PROVIDER;yAxisName=AMOUNT(IN CR);showValues=1;sNumberSuffix= U;formatNumberScale=0 outCnvBaseFontColor='750A34' "; //******CODE ENDS********* The chart type is MSColumn3D. Thanks and regards!!!
-
Hello everyone, I have a chart which has been generated using the Fusion chart PHP class. The chart is appearing fine. Now I have embedded a menu at the left side of the chart which when expanded gets hidden under the chart. I tried googling the topic and came up with some comcept of canvasbgalpha but unfortunately it is not working. I am attaching a screenshot of the problem that I am facing. Note how the child menu is getting hidden under the chart. Any early help will be highly appreciated. Thanks.
-
Many thanks for your response. This is what I have tried after going through your response : //*******************CODE STARTS********************** $FC = new FusionCharts("MSColumn3D","400","350","mychart",true); //******************CODE ENDS************************** However, it is giving me the undergiven error when running the page : Message: Object doesn't support property or method 'setTransparent'
-
Many thanks for the reply. Kindly note that I have used the PHP class for generating the chart and not the .js file and I have used the PHP class file FusionCharts.php. The reference to the file FusionCharts.js is not included anywhere in my code. A snippet of my code is given below : //********************CODE STARTS************************** $FC = new FusionCharts("MSColumn3D","400","350"); $FC->setSWFPath(""); $strParam="caption=TOTAL EARNING (".$prestyr."-".$preendyr." AND ".$curstyr."-".$curendyr.");subcaption=;xAxisName=FINANCIAL QUARTER;yAxisName=AMOUNT(IN CR);showValues=1;sNumberSuffix= U;formatNumberScale=0 "; $FC->setChartParams($strParam); $FC->addCategory("XXXXXX"); $FC->addDataset("XXXXXX"); $FC->addChartData(XXXXX); $FC->renderChart(); //********************CODE ENDS**************************** How do I invoke the concept of transparency in the above code? Thanks once again!!!
-
Hello everyone, I have generated a column chart which shows the earning comparison across financial years. There are 4 colums in the chart depicting 4 financial years. I want to draw a line which will join the peak points of every column and accordingly project for the future. Can I accomplish this using fusion chart? A snapshot of the chart is attached. Awaiting reply. Thans in advance. Regards, Anirban
-
Hi, I want to make a combination of bar chart and line chart where the data for one financial year will be portrayed with bar chart whereas the data for another financial year will be portrayed using a line chart. I am using PHP + MySQL . Any help in this context will be highly appreciated. Thanks in advance!!!
-
Hi All, I have a pie chart developed using fusion chart. The chart is plotting all my data perfectly. The only thing which I need to do is to add a legend to the chart. Can anyone kindly help? Regards, Anirban
-
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
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 -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
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 -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
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 -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
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 -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
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 -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
Many thanks for your response!!! -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
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 -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
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 -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
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 -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
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 -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
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 -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
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 -
Combination of bar and line chart
anirbansarkar replied to anirbansarkar's topic in FusionCharts and PHP
I want to plot the data of last 3 financial years quarter wise in a column chart. I want to plot the summation of every quarter for the last three financial years, including the current financial year - 2009/2010. The graph will be as follows: In the X axis there will be 3 points for FY-0708, FY-0809 and FY-0910 respectively. Against every financial year point there will be 4 bars (each bar representing a particular quarter of the financial year). So overall, there will be 4 bars against every financial year and 12 bars in total subject to availability of data. I have tried doing the same but feel that I am going wrong somewhere. I am uploading a zip file with the code snippet. The code only contains the script for one financial year. Hope this code can be replicated for the other two financial years. Any help will be highly appreciated. Thanks and regards. chart.zip