luftikus143

Members
  • Content count

    22
  • Joined

  • Last visited

Everything posted by luftikus143

  1. Hi there, are there any examples of charts using AJAX for generating graphs without the need of reloading the whole page? If possible with the used code? I am not a big Javascript/AJAX programmer, so I would like to reuse some code to achieve that... Thanks for any help! Stef
  2. Logarithmic Scale

    Hi there, if I understand correctly, logarithmic scales are only possible with the log-graphs in PowerCharts, right? In the moment I am dealing with ScatterPlots of FusionCharts, and would like to have one or both of the axis in log/lin mode. Is that feasible? Thanks for any advice!
  3. Text as Chart Background

    Hi, is it possible to display text or a number as the chart background? So, because in my app one can chose between many years for a given variable, it would be a nice feature to be able to display the year in the center of the graph, in large letters and slightly grayed out or in opacity. Thanks for any advice. Stef
  4. Hi there, I am using the example "Combining FusionCharts, PHP & Javascript (dataURL) method". But for the var chartObj = getChartFromId("name_of_chart"); I get the error: getChartFromID is not defined My code is: < div id="chartdiv" align="center"> .... javascript opening here.... var chart = new FusionCharts("http://localhost/etc/FusionCharts_Evaluation/Charts/Bubble.swf", "ChartId", "1000", "700", "0", "0"); chart.setDataURL("<?php echo $strDataURL; ?>"); chart.render("chartdiv"); function updateChart(year) { var strURL = "graph_scatter-data.php?selectedID=1510&selectedYear=" + year + "&xaxis="; strURL = unescape(strURL); var chartObj = getChartFromID("ChartId"); alert(chartObj); chartObj.setDataURL(strURL); } .... javascript close here.... < a href="#" onclick="updateChart('1995');">older year< /a> I tried it both with "ChartID" and "chartdiv", but neither worked. (I guess ChartID should be the right one.) Can you help me?
  5. Example (Code) for Charts using AJAX

    But these are not AJAX examples, no? Just normal Javascript ones. There is no direct Javascript interaction with the server, as I can see it... Please correct me if I am wrong.
  6. "getChartFromID is not defined"

    Are there any existing examples with AJAX? So that one can reuse the code? Thanks for any hints!
  7. "getChartFromID is not defined"

    I've implemented an automatic call of the update function, so that it displays every second or so the selected variables with another year. Is there a way to avoid that the whole chart is being reloaded? It looks a bit ugly and is surely pretty tiresome. Here is again the URL. And then click on "automatic change" above the listing of the years. Thanks for any advice!
  8. "getChartFromID is not defined"

    Wow, that's it!! Great. Thanks a lot!! Stef
  9. "getChartFromID is not defined"

    Thanks a lot for having a look. But I don't see a difference between my code and yours above... Stef
  10. "getChartFromID is not defined"

    Ok, so here is the URL. And at the bottom of the page is the link "year before", which calls the updateChart function. Thanks for any clarification! Stef
  11. "getChartFromID is not defined"

    Unfortunately not, as it is installed only locally... I can see if I can switch it over to the production machine however...
  12. "getChartFromID is not defined"

    It is correctly included... Stef
  13. Hi, I have a scatter plot where I would like to offer the possibility to change the x-axis variable. The default is GDP, but the user could choose as well Population or Fish Catch. One could do it by adding below the graph an HTML SELECT box with the available variables. But I would prefer to have the box within the graph area - looks much nicer. Is there any possibility to achieve this? Thanks for any hints! Stef ____________________________________________________________________ Lean Back and Relax - Enjoy some Nature Photography: http://photoblog.la-famille-schwarzer.de Appetite for Global Data? UNEP GEO Data Portal: http://geodata.grid.unep.ch ____________________________________________________________________
  14. "getChartFromID is not defined"

    Thanks, but no change, same error message...
  15. Change X-Axis Variable via SELECT box

    ah.... is this the example for it: http://www.fusioncharts.com/Demos/JS/Index.html ?
  16. Difference in Axis Titles Style?

    Hi there, although I was first using the default styles for the x- and y-axis titles, then changed to custom STYLES - both axis titles set to the same style - it looks as if the vertical title isn't bold, but the xaxis title is. How comes, as they are supposed to display the same way? Thanks for any hints! Stef
  17. Interactive Javascript Example

    Hi there, does the "Client Side Chart Plotting" Example (where one can change which group is being displayed in a column bar graph) work with other graph types - as the Scatterplot - too? Thanks for any advice!
  18. Hi there, I have a scatterplot with a couple of different classes, colored by the dependency to a certain region; so blue are all the countries belonging to Africa, green all the countries belonging to Europe etc... (see attachment) They are one single data set. So I guess I can't build a legend which would show the five or so different colors and their region names, no? And if I split the data into five different datasets, would it work then? Hmmm.... I'll give it a try anyway. Nevertheless, thanks for any advice!
  19. Logarithmic Scale

    Ok, managed to find a way to do a logarithmic scale on the x-axis. See attached screenshot. But this is kind of cheating. And it won't work for the y-axis, I guess...
  20. Logarithmic Scale

    Sorry for inquiring again: But do you envisage the implementation of log-scales - a) in general and for scatter plots in the near-future? I think this is really an important feature for any kind of statistical data display/analysis and thus a big asset for this software. Thanks for any clarification.
  21. Tool tip in multiple lines

    Hi there, I want my info to be displayed in two lines in the tooltip too. I tried to follow the instructions, but it didn't work. I use the dataURL method: var chart = new FusionCharts("http://localhost/etc/FusionCharts_Evaluation/Charts/Bubble.swf", "ChartId", "800", "700", "0", "0"); chart.setDataURL("fusioncharts_1-data.php"); chart.render("chartdiv"); And I have this in the XML: name="Albania <BR> x=1207 y=75" But it displays it in the tooltip like Albania < BR > x=1207 y=75 (without spaces around the BR) Can anyone give me a hint? I specified too the as described above... Is this mandatory? Thanks for any advice! EDIT: Okay, okay... Internal problem with XML coding yielded in not proper functioning. Alright now. Sorry for any confusion!
  22. Logarithmic Scale

    That's very unfortunate. In the statistical world there are many variables being displayed in logarithmic version... Do you have any plans for the near future to include that functionality? Thanks for your input!