MatB

Members
  • Content count

    6
  • Joined

  • Last visited

Posts posted by MatB


  1. Hi Mat,

     

    Yes, FusionCharts for SharePoint will support FusionWidgets charts in future. And you can still use 'Content Editor' web part in SPF to view Angular Gauge chart, but for that you have to use <OBJECT> embed method instead of JS method.

     

    For more information about <OBJECT> embed method, please refer to the link below:

     

    http://www.fusioncha.../HtmlEmbed.html

     

    Hope this helps.

     

    Hi

     

    Thanks for the tip. I've tried using this method, but I'm getting 'invalid XML data' displayed. I'm using very simple XML to test this:

     

    <object width="400" height="300" id="Column3D" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0">
     <param name="movie" value="/lib/FusionWidgets/Charts/AngularGauge.swf"/>
     <param name="FlashVars" value="&chartWidth=400&chartHeight=300&DOMId=myChartIdRegisterWithJS=1&debugMode=0&dataXML=<chart lowerLimit='0' upperLimit='100' lowerLimitDisplay='Bad' upperLimitDisplay='Good' gaugeStartAngle='180' gaugeEndAngle='0' palette='1' numberSuffix='%' tickValueDistance='20' showValue='1'>
      <colorRange>
         <color minValue='0' maxValue='75' code='FF654F'/>
         <color minValue='75' maxValue='90' code='F6BD0F'/>
         <color minValue='90' maxValue='100' code='8BBA00'/>
      </colorRange>
      <dials>
         <dial value='92' rearExtension='10'/>
      </dials>
    </chart>">
     <param name="quality" value="high"/>
     <embed src="/lib/FusionWidgets/Charts/AngularGauge.swf" flashVars="&chartWidth=400&chartHeight=300&DOMId=myChartIdRegisterWithJS=1&debugMode=0&dataXML=<chart lowerLimit='0' upperLimit='100' lowerLimitDisplay='Bad' upperLimitDisplay='Good' gaugeStartAngle='180' gaugeEndAngle='0' palette='1' numberSuffix='%' tickValueDistance='20' showValue='1'>
      <colorRange>
         <color minValue='0' maxValue='75' code='FF654F'/>
         <color minValue='75' maxValue='90' code='F6BD0F'/>
         <color minValue='90' maxValue='100' code='8BBA00'/>
      </colorRange>
      <dials>
         <dial value='92' rearExtension='10'/>
      </dials>
    </chart>" width="400" height="300" name="AngularGauge" quality="high" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/>
    </object>
    

     

    Am I missing something obvious here?

     

    Your help is much appreciated.

     

    By the way -- this is just a regular HTML page. I wanted to get that working before trying to use SharePoint.

     

    Thanks


  2. Do you have any plans to make FusionWidgets available for SharePoint?

     

    I've managed to get the evaluation version kind of working in WSS 3.0 simply by adding the FusionCharts.js to the master page and using the setDataXML method in a Content Editor Web Part. However, we're planning to move to SPF (Foundation) and this method is no longer working.

     

    This is a real shame as we were hoping to use the Angular Gauge charts to create a KPI dashboard.

     

    Here's hoping.

     

    Mat


  3. I've read through the examples showing how it is possible to update the data source URL using JavaScript, but it's not working for me. Instead, I get the following error in Firebug:

    this.setAttribute is not a function

     

    I have created the initial Gantt chart using the registerWithJS option and setting debugMode show that the correct chart is registered with external script. The initial chart loads perfectly.

     

    The JavaScript I'm using is very simple at this stage. This is in the <HEAD>

    function renderChart() {
    	var chartObj = FusionCharts("Gantt1");
    	chartObj.setDataURL("gantt_data.php?d=Civils");
    }
    

     

    This is in the body:

    var Gantt = new FusionCharts("../lib/FusionWidgets/Charts/Gantt.swf", "Gantt1", "1000", "800", "1", "1");
    Gantt.setDataURL("gantt_data.php?d=Rail");
    Gantt.render("GanttDiv");
    

     

    Currently, the renderChart function is called by clicking a button.

     

    Any ideas why this isn't working?

     

    Thanks


  4. I'm just starting to test using FusionCharts Free to produce gantt charts from MySQL data. It's working well and I'm very impressed, but I have one question: is the horizontal scrolling of the tasks pane only supported in the paid version, or am I missing something?

     

    Thanks.

     

    Mat