steveddei
Members-
Content count
38 -
Joined
-
Last visited
Everything posted by steveddei
-
Dynamically Generated Charts, Render one at a time
steveddei replied to steveddei's topic in FusionCharts and PHP
Figured out myself... I commented out chart_$chartId.render("$chartIdDiv"); from FusionChart.php then on my page, I kept track of the Ids of the dynamically generated charts. With Php i construct Javascript code to build a switch statement in the FC_Rendered(DOMId); function. When i receive the event for one, I load the next. Of course before that i need to manual start the fisrt chart to start off the motion. -
Hello, I have used a % value for a few of my charts, which correctly scales the width of the chart to width of the table/div, however I noticed when I apply a % value to the Doughnut3D chart, the chart does not display. Here is my code: $FC3 = new FusionCharts("MSBar3D", "450", "550"); $FC4 = new FusionCharts("MSBar3D", "100%", "550"); $FC5 = new FusionCharts("Doughnut3D", "450", "300"); $FC6 = new FusionCharts("Doughnut3D", "100%", "300"); $FC3, $FC4 and $FC5 displays correctly, $FC6 does not display at all. If I set it to a whole number (pixels) it displays. Is this a bug for this chart? I havent tried all charts, but this is the first one i came across that could not take a % value. Thanks.
-
Hi. I am looking for new Palettes / color themes, besides the default grungy color array found in FusionCharts_Gen.php. If you have a nice set, please post them here. Be sure to to title your reply "Charting Color Palettes - <Your theme name>". Thx.
-
Hi, I have a page with 50+ dynamically created charts using javascript encodeDataURL and renderChart functions along with php to generate the xml data. I was having problem with the charts not all drawing completely until i disable the cache by using encodeDataURL("data_el_otd_12m.php?, true); My problem is that it is still taking a long time to display all the charts. Is it possible to auto generate the chart jpg on first load, then use those images from then on in place of the flash? Most likely i would want to name the chart jpg with the date and only regenerate the charts if the date is old x amount of days.
-
Thank you for your help. I will try both methods.
-
Is this a limitation of flash/browser then? I understand this is a lot for a browser to process. I also have the FusionWidget license, do you know if using the small Spark Charts would be any better? BTW i noticed that my php package includes a FCExporter_IMG.php file. wont this handle the export? if so, i can export and save on the server. if the image is located on the server, i could display the image, if not, i could render the chart. will that file work?
-
Hello, Is it possible to set the divisional / gride lines to be progressively spaced based on a percentage or something similar? The reason being is that my charts become way too long looking and I would like to collapse some other the similar data that each record my have. Please see sample images, before (default) and after (modified progressive "Revenue" spacing. I know there is a AxisMinValue, but that is not what i am looking for.
-
Display master page loader while Dynamically generated charts load
steveddei posted a topic in FusionCharts and PHP
I am using FC3 with php class and using javascript getDataUrl to dynamically create multiple charts on a single page. My problem is that i am generating 20+ charts on the same page. Is there a way i can display some type of master page loading bar using js to be displayed untill all the charts are finished loading? I know this might be independant of the FC. I assume a good option would be on page load show i alpha div with loading gif, then at the end of the page use js to hide the div. Can someone provide me with an option that might be right/better? -
Display master page loader while Dynamically generated charts load
steveddei replied to steveddei's topic in FusionCharts and PHP
I decide to use the chart callback future to let me know when the last chart is finished so i can hide the "loading" div. This works in IE, however i noticed if the last chart is off screen in FF or Safari, the callback is never sent because both those browsers do not execute any chart/javascript until it is visible on the screen. Has anyone noticed charts not send a callback if off screen in FF or Safari, and how did you work around this? -
I am using FC 3 with php class. I am using the default color scheme (i dont define it in my chart tag)and would like to use javascript to get the color of the line/bars in the chart to use in certain places in my html. How can i uses javascript to get the color attributes from a chart?
-
I have created my own grid table to be display below the actual fusion chart. I would have used the ssgrid.swf, but unfortunately there is almost no layout customization, as i needed it to be horizontally listed instead of the fixed vertically view. Anyways, I am using an html table so i guess it looks like the only way to share colors would be to define the color in the <chart> and then use the same in my html table.
-
Display master page loader while Dynamically generated charts load
steveddei replied to steveddei's topic in FusionCharts and PHP
I added a absolute div to cover page while loading, then added js at the end of page to hide div when done....However this doesnt work as easily as i thought. Page loads, and hides div almost instantainiously, however charts are still loading. Looks like i need some callback from the charts when finished loading?? -
I would like to create a table with a list of users and a chart corrisponding to that users data activity. Since my users will vary, how would i go about dynamically creating a chart for each user found in my db. I am using FC v3 and PHP Class. Getting the queries is no problem, just need help with my loop where i dynamically create the chart. Thanks.