funktifyknow

Members
  • Content count

    16
  • Joined

  • Last visited

Posts posted by funktifyknow


  1. That us exactly the problem my company is facing we need the chart to display the set labels in a grid like format and be accessible from the grid as well. However since this functionality isn't available we are creating a javascript based solution that provides the same level of dynamic content but has an even greater functionality which allows for full customization. The Fusion Charts package is pretty but not very friendly.


  2. I was wondering if anyone has implemented either of these to create data that is generated dynamically from a database. I have a large database that I need to run queries against to load into a Column3D chart. Then from this chart it will drill down to another chart that will need the same functionality. This chart will then in turn link to another application outside of the charting system.

     

     

     

    So my real question would be: Is it possible to create a drill down link to setDataURL?

     

     

     

    Any ideas or suggestions would be greatly appreciated.


  3. I have tried to get your javascript drilldown function to work but unfortunately it doesn't appear to work as advertised. I tried to run the simple script that you provided as part of your tutorials and it is not working for me. I will put my code in below and maybe you can debug it for me.

     

    
    
    
    script src="FusionCharts.js" type="text/javascript"/script
    
    script type="text/javascript" language="javascript"
    
    	function test(testuri){
    
    		window.alert('test:'+testuri);
    
    	}
    
    /script
    
    
    
      /head
    
      body bgcolor="#ffffff"
    
    div id="framecontent"
    
    div class="innertube"
    
    
    
    h1Main Engine Repairs By Ships Designator/h1
    
    /div
    
    /div
    
    
    
    
    
    div id="maincontent"
    
    div class="innertube"
    
    div id="chartWrapper"
    
    
    
    /div
    
    
    
      script type="text/javascript"
    
         var myChart = new FusionCharts("FusionCharts/Pie3D.swf", "myChartId", "500", "300", "0", "0");
    
         myChart.setDataURL("mainEngineDrillData.xml&debugMode=1");
    
         myChart.render("chartWrapper");
    
      /script
    
    
    
    /div
    
    /div
    
    

     

    XML data

     

    
    chart caption='Percentage of Repairs by Ship' xAxisName='Percentage of Total Repairs' yAxisName='Ships Designator' numberSuffix='%'
    
    set label='USNS Stockham' value='8.7' toolText='USNS Stockham<BR>53 Results<BR>Percentage: 8.7%' link="test('some.uri');" /
    
    set label='USNS Pathfinder' value='6.3' toolText='USNS Pathfinder<BR>38 Results<BR>Percentage: 6.3%' link='test("http://eca.emprisecorporation.com/pathfinder");' /
    
    set label='USNS Patuxent' value='5.9' toolText='USNS Patuxent<BR>36 Results<BR>Percentage: 5.9%' link='test("http://eca.emprisecorporation.com/patuxent");' /
    
    set label='USNS Seay' value='5.9' toolText='USNS Seay<BR>36 Results<BR>Percentage: 5.9%' link='test("http://eca.emprisecorporation.com/seay");' /
    
    set label='USNS Heezen' value='5.8' toolText='USNS Heezen<BR>35 Results<BR>Percentage: 5.8%' link='test("http://eca.emprisecorporation.com/heezen");' />
    
    set label='USNS Big Horn' value='5.6' toolText='USNS Big Horn<BR>34 Results<BR>Percentage: 5.6%' link='test("http://eca.emprisecorporation.com/bighorn");' /
    
    set label='USNS Sumner' value='5.6' toolText='USNS Sumner<BR>34 Results<BR>Percentage: 5.6%' link='test("http://eca.emprisecorporation.com/sumner");' /
    
    set label='USNS Martin' value='4.8' toolText='USNS Martin<BR>29 Results<BR>Percentage: 4.8%' link='test("http://eca.emprisecorporation.com/martin");' /
    
    set label='USNS Shughart' value='4.3' toolText='USNS Shughart<BR>26 Results<BR>Percentage: 4.3%' link='test("http://eca.emprisecorporation.com/shughart");' /
    
    set label='USNS Henson' value='4.1' toolText='USNS Henson<BR>25 Results<BR>Percentage: 4.1%' link='test("http://eca.emprisecorporation.com/henson");' /
    
    set label='USNS Bob Hope' value='4' toolText='USN Bob Hope<BR>24 Results<BR>Percentage: 4%' link='test("http://eca.emprisecorporation.com/bobhope");' /
    
    set label='USNS Mary Sears' value='3.8' toolText='USNS Mary Sears<BR>23 Results<BR>Percentage: 3.8%' link='test("http://eca.emprisecorporation.com/marysears");' /
    
    set label='USNS Mendonca' value='3.6' toolText='USNS Mendonca<BR>22 Results<BR>Percentage: 3.6%' link='test("http://eca.emprisecorporation.com/mendonca")' /
    
    set label='USNS Bowditch' value='3.5' toolText='USNS Bowdicth<BR>21 Results<BR>Percentage: 3.5%' link='test("http://eca.emprisecorporation.com/bowditch");' / 
    
    set label='USNS Gilliland' value='2.8' toolText='USNS Gilliland<BR>17 Results<BR>Percentage: 2.8%' link='test("http://eca.emprisecorporation.com/gilliland");' /
    
    set label='USNS Guadalupe' value='2.5' toolText='USNS Guadalupe<BR>15 Results<BR>Percentage: 2.5%' link='test("http://eca.emprisecorporation.com/guadalupe");' /
    
    set label='USNS Brittin' value='2.3' toolText='USNS Brittin<BR>14 Results<BR>Percentage: 2.3%' link='test("http://eca.emprisecorporation.com/brittin");' /
    
    set label='USNS Pililaau' value='2.3' toolText='USNS Pililaau<BR>14 Results<BR>Percentage: 2.3%' link='test("http://eca.emprisecorporation.com/pililaau");' /
    
    set label='USNS Gordon' value='2' toolText='USNS Gordon<BR>12 Results<BR>Percentage: 2%' link='test("http://eca.emprisecorporation.com/gordon");' /
    
    set label='USNS McDonnell' value='2' toolText='USNS McDonnell<BR>12 Results<BR>Percentage: 2%' link='test("http://eca.emprisecorporation.com/mcdonnell");' /
    
    set label='USNS Fisher' value='1.8' toolText='USNS Fisher<BR>11 Results<BR>Percentage: 1.8%' link='test("http://eca.emprisecorporation.com/fisher");' /
    
    set label='USNS Laramie' value='1.6' toolText='USNS Laramie<BR>10 Results<BR>Percentage: 1.6%' link='test("http://eca.emprisecorporation.com/laramie");'/
    
    set label='USNS Pecos' value='1.5' toolText='USNS Pecos<BR>9 Results<BR>Percentage: 1.5%' link='test("http://eca.emprisecorporation.com/pecos");' /
    
    set label='USNS Humphreys' value='1.3' toolText='USNS Humphreys<BR>8 Results<BR>Percentage: 1.3%' link='test("http://eca.emprisecorporation.com/humphreys");' /
    
    set label='USNS Mohawk' value='1.3' toolText='USNS Mohawk<BR>8 Results<BR>Percentage: 1.3%' link='test("http://eca.emprisecorporation.com/mohawk");' /
    
    set label='USNS Lenthall' value='1' toolText='USNS Lenthall<BR>6 ResultsPercentage: 1%' link='test("http://eca.emprisecorporation.com/lenthall");' /
    
    set label='USNS Rappahannoc' value='1' toolText='USNS Rappahannoc<BR>6 Results<BR>Percentage: 1%' link='test("http://eca.emprisecorporation.com/rapp");'  /
    
    set label='USNS Impeccable' value='0.7' toolText='USNS Impeccable<BR>4 Resutls<BR>Percentage: 0.7%' link='test("http://eca.emprisecorporation.com/impeccable");' /
    
    set label='USNS Loyal' value='0.7' toolText='USNS Loyal<BR>4 Resutls<BR>Percentage: 0.7%' link='test("http://eca.emprisecorporation.com/loyal");' /
    
    set label='USNS Catawba' value='0.5' toolText='USNS Catawba<BR>3 Results<BR>Percentage: 0.5%' link='test("http://eca.emprisecorporation.com/catawba");' /
    
    set label='USNS Invincible' value='0.5' toolText='USNS Invincible<BR>3 Results<BR>Percentage: 0.5%' link='test("http://eca.emprisecorporation.com/invinc");' /
    
    set label='USNS Benavidez' value='0.3' toolText='USNS Benavidez<BR>2 Results<BR>Percentage: 0.3%' link='test("http://eca.emprisecorporation.com/bena");' /
    
    set label='USNS Diehl' value='0.3' toolText='USNS Diehl<BR>2 Results<BR>Percentage: 0.3%' link='test("http://eca.emprisecorporation.com/diehl");' /
    
    set label='USNS Effective' value='0.3' toolText='USNS Effective<BR>2 Results<BR>Percentage: 0.3%' link='test("http://eca.emprisecorporation.com/effective");' /
    
    set label='USNS Ericsson' value='0.3' toolText='USNS Ericsson <BR>2 Results<BR>Percentage: 0.3%' link='test("http://eca.emprisecorporation.com/ericsson");' /
    
    set label='USNS Grumman' value='0.3' toolText='USNS Grumman <BR>2 Results<BR>Percentage: 0.3%' link='test("http://eca.emprisecorporation.com/grumman");'  /
    
    set label='USNS Kaiser' value='0.3' toolText='USNS Kaiser <BR>2 Results<BR>Percentage: 0.3%' link='test("http://eca.emprisecorporation.com/kaiser");'  /
    
    set label='USNS Navajo' value='0.3' toolText='USNS Navajo <BR>2 Results<BR>Percentage: 0.3%' link='test("http://eca.emprisecorporation.com/navajo");' /
    
    set label='USNS Tippecanoe' value='0.2' toolText='USNS Tippecanoe<BR>1 Results<BR>Percentage: 0.2%' link='test("http://eca.emprisecorporation.com/tipp");' /
    
    styles
    
           		definition
    
             			style name='myHTMLFont' type='font' isHTML='1' /
    
        		/definition
    
          		application
    
               			apply toObject='TOOLTIP' styles='myHTMLFont' /
    
           		/application
    
    /styles
    
    /chart
    
    


  4. Is it possible to set up the links to connect to a site apart from the site the chart is inside of? I need it to go to a new URI. Would I do this with the dataURL or is it even possible to make a link to an outside site? This is what I have put into my XML doc but it doesn't make a link it stays put.

     

     

     

    
    set label='Label Name' value='8.7' toolText='tooltip1<BR>53 Results<BR>Percentage: 8.7%' link='n-http://new-URI-here/stockham' color='CEDFFE'