JorgeV
Members-
Content count
10 -
Joined
-
Last visited
Everything posted by JorgeV
-
Hi, Now that I can render my charts, I'm trying to create a line chart in 3D similar to the combo you have in the samples. But I just want the line part not area or bars. Is it possible? I have attached the two images chart_1 is how I want the chart to display. Chart_actual is how is being plot right now. I have included the parameters I had set. Also I would like to change the colors and I have played with the chartpalette but no changes so far. Are the parameters name the same as in the XML documentation? $strParam2="yAxisMaxValue=100;chartpalette=5;showValues=0;numberPrefix=%;endAngX=35;endAngY=-20"; Thanks for the help. Jorge V.
-
Hi, I have done the example you have in the documentation and I only get a white box. I try to comment the directories to make sure the paths were correct and yes I get different errors when I make changes to any of the lines, so the paths are correct otherwise I would get those errors. I think I'm missing something else. Here is part of my code. Thanks for the help. # Including FusionChart PHP class include('../charts/Class/FusionCharts_Gen.php'); # Creating Chart $FC2 = new FusionCharts("Column2D","500","250"); # Set Relative Path to SWF file $FC2->setSWFPath("../charts/fushioncharts/"); # Set Chart attributes $strParam="caption=Preload Games Revenue;numberPrefix=$"; $FC2->setChartParams($strParam); #Add chart values and category names $FC2->addChartData("40800","label=Week 1"); $FC2->addChartData("31400","label=Week 2"); $FC2->addChartData("26700","label=Week 3"); $FC2->addChartData("54400","label=Week 4"); OPS Charts <?php #Render Chart $FC2->renderChart(); ?> I'm using Firefox 3.6.3 and MS Explorer 7 - 7.05730.13 --- just fyi Thanks for the help
-
Thanks I'm following the sample and I have my charts rendering.
-
Hi, I changed the way the chart is generated. Instead of using FusionCharts_Gen.php I used FusionCharts.php and used the $StrXML and rendering the chart with more parameters. That generated my chart. There must be something missing on your documentation since I followed the instructions of: FusionCharts PHP Class Creating First Chart So there are two ways to do this. I'll read more carefully to find out the differences, but I think is confusing that you have two chapters for PHP. Well maybe for PHP experts it's easy, I'm just starting. Thanks, Jorge V. ps - sorry for how the code is displayed there is a section missing I guess because it's HTML and get's ignored when displayed. I'll take a snapshot next time instead of adding the code itself in here.
-
Hi, Actually I have two issues that I would need your help with. 1. The data labels are not fully displayed. I have tried working with the space of labels, xAxisNamePadding, font size and nothing seems to make them fully displayed. 2. The series names. They show in two rows making my chart smaller in the space I have assigned for it. Is there a way to make the series displayed on one row only? Thanks in advance for the help! Jorge V.
-
Hi, Thanks for the reply. I have changed it to noscale as well and the labels are shown complete. Thanks for this. The second part of my problem is the legends - when the browser is at the max size the legends are drop in two rows. When I re-size the browser to a smaller size the labels are in one row. Is there a way to control these to make them stay in one row? Thanks for the help. Jorge V.
-
Hi, I noticed when resizing the chart and making it smaller or larger, there are objects of the chart that move in groups. I see the X data values move and in front of it is the panel for the series titles. I think if we send the X data values object to the front that would let the numbers display properly. Is there a way I can change the layer order of objects. I have source code of charts if you tell me how to change the order in which the objects are layered in the stage I think that could solve my problem.
-
Hi, Thanks for the reply. I have attached the xml file and the screenshots I had to parse the image to remove confidential information. How I have set it up is this way: 1 - flash file with areas to load individual charts. So the attached images are loaded in an area I have setip with the following dimmensions: 400 x 250 2 - I load the swf that contains the chart code: var mChart:ScrollLine2DChart = new ScrollLine2DChart(this, 1, 375, 240, 1, 25, false, "EN", "noScale"); I have tried different sizes to see if I was giving the wrong size to display the full labels and nothing. I did testing on different resolutions and it seems it does something to resize or scale the chart depending on the resolution. I have no idea how to control that. So I hope you can help me. Also with the series names. In my laptop I have one resolution and I have a monitor attached that has bigger resolution if I displayed the same chart on the second monitor the series get re-arranged and because of the layout I have the 2nd series name does not get displayed. Is there a way to keep the series name on the same row? there is plenty of space to have them both in there! :pinch: So the 1st screenshot is displaying the chart on my laptop monitor with both series names on the same row. But still the labels not showing complete. The 2nd shot is the second monitor with higher resolution and the 2nd series title is gone to the 2nd row and disappears! :crazy: Laptop resolution (1680 by 1050). 2nd Monitor resolution (1920 by 1200). My final app will be displayed on a LCD screen with higher resolution than the ones I use. Your help is appreciated chart_hourly-Issue.xml
-
Hello, I'm new in using FusionCharts and I'm reading the documentation and checking the samples. My project involves a Flash application that on the main page there are 4 areas to display charts. What I want to do is create individual flash files to be loaded into these 4 areas. Each flash movie will display a particular type of chart. The frequency to update the chart is every hour so I will have an XML file ready to be charted. My problem for what I'm reading is that I have to hard code the values for the chart instead of being able to load the XML file as if would be the case for an HTML page? In your sample flash documents all have SetXMLData and none uses the SetDataURL to point to the XML file as it would be for a HTML is there a way to accomplish this but within the flash movie? Thanks in advance for the help
-
Hi Rahul! Thank you! The solution works and I have my chart on my movie! Just one small correction on this line: xmlURLData1.onload=XMLDataLoaded; Should be: onLoad Thanks again! Jorge V.