clandestino_bgd

Members
  • Content count

    3
  • Joined

  • Last visited

  • Days Won

    1

About clandestino_bgd

  • Rank
    Forum Newbie
  1. Javascript Rendering

    Hi Angshu, thanks for reply, but I am still missing something. I understand I need swf file in any case, but my question is why? If I I am using javascript renderer, why would I need swf at all? I'd expect that chart implementation is in JS in that case, not in swf. Thanks, MIlan
  2. Fusioncharts And Elasticsearch

    Hello, I became interested in Fusioncharts as a nice candidate for our (yet to be implemented) dashboard which will use elastic search as a backend. However, since we are still in POC phase with very little JS knowledge (we are server side java shop), I am risking again to ask something silly, but I just couldn't find an answer in tutorials I went through today. Here is briefly what I think we need to do: 1. We need to issue http post request to ElasticSearch (search query is JSON itself - part of the request body) and get response (async) via ajax call. Response is also JSON, basically the result of the faceted search. 2. We need to store this response in some JS variable and apply transformation so it eventually becomes JSON, fusionchart understands, so we can supply it as DataString. 3.. we need to do the same thing every few seconds, to support auto refresh. Does anybody have an example how to do that, or something conceptually similar? I am quite aware that valid answer could be: Read Jquery in Action, but I need some basic functionality working very soon as POC, so we can decide, is Fusioncharts is a way to go. Thanks a lot for your patience & help in advance, Milan
  3. Javascript Rendering

    Hi, first and foremost, apologies for probably very stupid question, but this is my Day#1 with FusionCharts. So: Looking at the example from tutorial, <script type="text/javascript"><!-- [b]FusionCharts.setCurrentRenderer('javascript');[/b] var myChart = new FusionCharts( "FusionCharts/Column3D.swf", "myChartId", "400", "300", "0", "1" ); myChart.setXMLUrl("Data.xml"); myChart.render("chartContainer"); // --> </script> I am failing to understand, why you need to reference swf file at all, if you are using javascript renderer. Thanks for your patience and clarification in advance, best, Milan