Survey Graph in Sharepoint 2007

Team,

Long time ago, my collegue at work he made a report graph for a survey in teamspace and he left the company.

The problem is, when you right click on the graph , it will show a button “ Created by **** ***** “ . How I can remove this button? Any ideas ?

I need also to add another graph as showing below

Any one can help?

I’ll be appreciated,
Thanks in advance,
Sophie graph
beesoo00Asked:
Who is Participating?
 
dgofmanConnect With a Mentor Commented:
Please can you install FireFox and then find FireBug plugin

Now when you will run FireBug under "Net" tab you will see URL to your SWF file

Or

you can get by URL yourself.

For example you are lunching page in the Address bar such as

http://www.mycompany.com/myproject/index.html

in this case to get Column2D.swf  file change your index.html to "fusion/Column2D.swf"

http://www.mycompany.com/myproject/fusion/Column2D.swf
0
 
dgofmanCommented:
Just create a model window on top your chart it will prevent to get this dialog
0
 
beesoo00Author Commented:
Hi Dgofman,

Thanks for your reply, but can you help me how to do that as I'm still not expert with Share point ?

Regards,
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
dgofmanCommented:
I can but I need you project or SWF file I need create wrapper on top your file
0
 
beesoo00Author Commented:
Sorry chief, I didn't get your point.

What I need from my side to provide you ? ( what do you mean when you said that you need project or SWF file ).

Thanks in advance
0
 
dgofmanCommented:
Can you post your chart component?
0
 
beesoo00Author Commented:
dgofman,

I hope this one what exactly you need from me:

--------------------------------------------------------------------------------

<html dir="ltr">

<head><meta name="ProgId" content="SharePoint.WebPartPage.Document" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>
      By Month
</title>
<meta name="Microsoft Theme" content="none, default"></head>

<body>

<form name="form1" method="post" action="chart_byMonth.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="form1">
<div>
<input type="hidden" name="MSO_PageHashCode" id="MSO_PageHashCode" value="31" />
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__REQUESTDIGEST" id="__REQUESTDIGEST" value="0x629D7E3C1AF9018E51956F0C4A16A7AFC91025531DEDB69F830B59B99EA66D4F68E4B25BA357C5E81A4CBDBE3E19F89467EC045F8199C33FBBCA3A19AB905966,27 Sep 2011 10:48:37 -0000" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUBMA9kFgICAw9kFgICAw8PFgIeC1BhcmFtVmFsdWVzMr0EAAEAAAD/////AQAAAAAAAAAMAgAAAFhNaWNyb3NvZnQuU2hhcmVQb2ludCwgVmVyc2lvbj0xMi4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj03MWU5YmNlMTExZTk0MjljBQEAAAA9TWljcm9zb2Z0LlNoYXJlUG9pbnQuV2ViUGFydFBhZ2VzLlBhcmFtZXRlck5hbWVWYWx1ZUhhc2h0YWJsZQEAAAAFX2NvbGwDHFN5c3RlbS5Db2xsZWN0aW9ucy5IYXNodGFibGUCAAAACQMAAAAEAwAAABxTeXN0ZW0uQ29sbGVjdGlvbnMuSGFzaHRhYmxlBwAAAApMb2FkRmFjdG9yB1ZlcnNpb24IQ29tcGFyZXIQSGFzaENvZGVQcm92aWRlcghIYXNoU2l6ZQRLZXlzBlZhbHVlcwAAAwMABQULCBxTeXN0ZW0uQ29sbGVjdGlvbnMuSUNvbXBhcmVyJFN5c3RlbS5Db2xsZWN0aW9ucy5JSGFzaENvZGVQcm92aWRlcgjsUTg/BQAAAAoKCwAAAAkEAAAACQUAAAAQBAAAAAMAAAAGBgAAAAZVc2VySUQGBwAAAAZMaXN0SUQGCAAAAAVUb2RheRAFAAAAAwAAAAYJAAAADEJhc2VtIE9rYXNoYQYKAAAAJntBQ0YzMzE4Qy1GQzQ3LTQ4MkItODBBMi1ERDk2ODhDN0ExNjR9BgsAAAAUMjAxMS0wOS0yN1QxMjo0ODozN1oLZGRkzSvGgrenY9Lo4JhNe3+E1VZ31jo=" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<script src="/WebResource.axd?d=0WnBeTGEnxMjxEJefM8mXQurcACpaWeDU_Z_EM9S8P6dCvDBH-aYNbrgkmKjvQLLQqmJ-9_6O6-ynZk1ji8YN07AUqk1&amp;t=634495500422014869" type="text/javascript"></script>

<script> var MSOWebPartPageFormName = 'form1';</script><script type="text/javascript" language="javascript" src="/_layouts/1033/init.js?rev=SKi7C%2FTrsh1U%2FCnIwkB9Ag%3D%3D"></script>
<script type="text/javascript" language="javascript" src="/_layouts/1033/init.js?rev=SKi7C%2FTrsh1U%2FCnIwkB9Ag%3D%3D"></script><script type="text/javascript" language="javascript" src="/_layouts/1033/core.js?rev=mHKsOQ0iU3Q5jdm9OZNDdg%3D%3D"></script>
<script type="text/javascript">
//<![CDATA[

                function DoCallBack(filterText)
                {
                    WebForm_DoCallback('g_99f79668_d339_415e_adb8_06f316886743',filterText,UpdateFilterCallback,0,CallBackError,true);
                }
                function CallBackError(result, clientsideString)
                {                
                }
            //]]>
</script>
<script type="text/JavaScript" language="JavaScript">
<!--
var L_Menu_BaseUrl="/sites/MLC/Facilities";
var L_Menu_LCID="1033";
var L_Menu_SiteTheme="SLB2";
//-->
</script><SCRIPT LANGUAGE='JavaScript' >
<!--
//-->
</SCRIPT>
<script type="text/javascript">
//<![CDATA[
function WebForm_OnSubmit() {
UpdateFormDigest('\u002fsites\u002fMLC\u002fFacilities', 1440000);
return true;
}
//]]>
</script>


<table TOPLEVEL border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr>
            <td><table border="0" cellpadding="0" cellspacing="0" width="100%">
                  <tr class="ms-WPHeader">
                        <td title="  - Use for formatted text, tables, and images." id="WebPartTitleg_59839dc0_a54c_4c17_9b0a_0ae497448067" style="width:100%;"><h3 class="ms-standardheader ms-WPTitle"><nobr><span> </span><span id="WebPartCaptiong_59839dc0_a54c_4c17_9b0a_0ae497448067"></span></nobr></h3></td>
                  </tr>
            </table></td>
      </tr><tr>
            <td class="ms-WPBorder" valign="top"><div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPartg_59839dc0_a54c_4c17_9b0a_0ae497448067" width="100%" class="ms-WPBody" OnlyForMePart="true" allowDelete="false" style="" ><div id="myChart" style="width:700px;height:250px; margin-left: 2px; padding-top: 0px;"></div>
              <script type="text/javascript" src="js/jquery.js"></script>
            <script type="text/javascript" src="fusion/JSClass/FusionCharts.js"></script>
            <script type="text/javascript">
                  function renderChart(){
                                          var arrayList=$("td.ms-gb:contains(':')");
                                          var chartdata = new Array();
                                          $.each(arrayList, function(i,e)
                                          {
                                                var MyIf= $(e).text();
                                                var txt= MyIf.substring(MyIf.indexOf('{')+1,MyIf.indexOf("}")); // Extract the 'Y' coordinates
                                                var txt1= MyIf.substring(MyIf.indexOf('(')+1,MyIf.indexOf(")")); // Extract the 'Y' coordinates
                                                chartdata[chartdata.length]="<set label='" + txt1 + "' value='" + txt + "' />\n";
                                          });
                                     
                                          var chartxml= chartdata.join(" ");
                                          var xmlData = "<chart caption='Response Count by Month' subCaption='Count of Completed Surveys' palette='1' labelDisplay='ROTATE' canvasBorderThickness='0' canvasBorderColor='FFFFFF'  paletteColors='3E7BC7,E28829,CA3F3A,9AC148,7B59A5,37AFD0,A2C8E6,008383,7BA400' bgColor='FFFFFF' showPlotBorder='0' showBorder='0' plotGradientColor=''  showYAxisValues='1' yAxisName='Completed Survey' showValues='1' rotateValues='1' placeValuesInside='1' >"
                                                + chartxml
                                                +"<styles>"                          
                                                +"<definition>"
                                                +"      <style name='myTitleAnim' type='animation' param='_x' easing='Bounce' start='0' duration='1' />"
                                              +"       <style name='myTitleFont' type='font' font='Arial' size='20' color='003366' bold='0' underline='0'/>"
                                              +"      <style name='myShadow' type='Shadow' distance='5' angle='45'/>"
                                              +"</definition>"
                                              +"<application>"
                                              +"      <apply toObject='Canvas' styles='myShadow' />"
                                              +"       <apply toObject='Caption' styles='myTitleFont,myTitleAnim' />"
                                            +"</application>"
                                              +"</styles>"
                                                +"</chart>";
                                          var chart = new FusionCharts("fusion/Column2D.swf", "myChart", "600", "250", "0", "0");
                                             chart.setDataXML(xmlData);              
                                             chart.render("myChart");  
                  }
                  
      

            
                  $(function(){
                        renderChart();
                  });
                  //]]
            </script>
            
            

            
            
            </div></td>
      </tr>
</table>

<table TOPLEVEL border="0" cellpadding="0" cellspacing="0" width="100%" style="display:none;">
      <tr>
            <td valign="top"><div WebPartID="00000000-0000-0000-0000-000000000000" HasPers="true" id="WebPartg_99f79668_d339_415e_adb8_06f316886743" width="100%" OnlyForMePart="true" allowDelete="false" style="" ><table border="0" width="100%" cellpadding="2" cellspacing="0" xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal"><tr valign="top"><th class="ms-vh" nowrap>Your Segment</th><th class="ms-vh" nowrap>My Room number is :</th><th class="ms-vh" nowrap>Date Of Arrival</th><th class="ms-vh" nowrap>Date Of Departure</th><th class="ms-vh" nowrap>Service provided by reception</th></tr><tr id="group0" style="display:auto"><td class="ms-gb" style="background:#cccccc;" colspan="5"><a href="javascript:" onclick="javascript:ExpGroupBy(this);return false;"><img src="/_layouts/images/minus.gif" border="0" alt="collapse" name="expand"></a>&nbsp;<b></b>
                                          :(2011-06) {6}
                                    </td></tr><tr id="group0" style="display:auto"><td class="ms-gb" style="background:#cccccc;" colspan="5"><a href="javascript:" onclick="javascript:ExpGroupBy(this);return false;"><img src="/_layouts/images/minus.gif" border="0" alt="collapse" name="expand"></a>&nbsp;<b></b>
                                          :(2011-07) {52}
                                    </td></tr><tr id="group0" style="display:auto"><td class="ms-gb" style="background:#cccccc;" colspan="5"><a href="javascript:" onclick="javascript:ExpGroupBy(this);return false;"><img src="/_layouts/images/minus.gif" border="0" alt="collapse" name="expand"></a>&nbsp;<b></b>
                                          :(2011-08) {32}
                                    </td></tr><tr id="group0" style="display:auto"><td class="ms-gb" style="background:#cccccc;" colspan="5"><a href="javascript:" onclick="javascript:ExpGroupBy(this);return false;"><img src="/_layouts/images/minus.gif" border="0" alt="collapse" name="expand"></a>&nbsp;<b></b>
                                          :(2011-09) {84}
                                    </td></tr></table></div></td>
      </tr>
</table>


<script type="text/javascript">
//<![CDATA[

WebForm_InitCallback();//]]>
</script>
</form>

</body>

</html>
0
 
dgofmanCommented:
Look your image on top it's displaying righ click Flash Player popup menu.
From your HTML I can see you are usign Column2D.swf under fusion directory
Please give me this file I will see if I can update that file or may be provide some workaround
0
 
beesoo00Author Commented:
Hi Dgofman,

how i can provide you the file ?

Thanks Chief
0
 
beesoo00Author Commented:
I tried to export the file, please find it attached and let me know if this the 1 that you need.

But it's telling me that The extension of the uploaded file is not in the list of accepted extensions.

Type of file : Microsoft Office SharePoint Designer 12.0 Web Package (.fwp)

Thanks chief
0
 
beesoo00Author Commented:
Hi Chief.

I attached for you the code inside text file.

 Code.txt
0
 
dgofmanCommented:
That is not what I am asking...

Please upload "Column2D.swf" file under your  "fusion"


fusion/Column2D.swf

Lookk your first HTML file

  var chart = new FusionCharts("fusion/Column2D.swf", "myChart", "600", "250", "0", "0");
                                             chart.setDataXML(xmlData);              
                                             chart.render("myChart");  
0
 
beesoo00Author Commented:
There's only one file called JSClass under Fusion ... I can't see any file called Column2D.swf .. Please let me know where I can find this file.

Thanks :)
0
All Courses

From novice to tech pro — start learning today.