Intranet / Internet Issue
#1
Posted 15 December 2011 - 01:17 PM
I have inserted a visifire chart in my website.
It is working fine with intranet links but not displayed in the internet link.
please help me in this...
#2
Posted 16 December 2011 - 03:57 AM
Please make sure that the path for SL.Visifire.Charts.xap and Visifire.js files is correct. Also, check whether the MIME types for .xap files are properly configured in the server or not.
Regards,
Vivek
Team Visifire
#3
Posted 16 December 2011 - 02:40 PM
Pepsin,
Please make sure that the path for SL.Visifire.Charts.xap and Visifire.js files is correct. Also, check whether the MIME types for .xap files are properly configured in the server or not.
hey vivek,
if i reffer the SL.Visifire.Charts.xap file using intranet link, its working fine in intranet but not working in the other. if i reffer it using internet link, its working fine in internet and not working in the intranet.
#4
Posted 19 December 2011 - 03:49 AM
Regards,
Vivek
Team Visifire
#5
Posted 19 December 2011 - 06:31 AM
https://example/site...fire.Charts.xap
Internet link:
https://example.comp...fire.Charts.xap
#6
Posted 19 December 2011 - 07:35 AM
Can you please tell me whether SL.Visifire.Charts.xap, Visifire.js and XML files are present in the same folder in web server?
Regards,
Vivek
Team Visifire
#7
Posted 19 December 2011 - 12:08 PM
i dont have xml files.
i uploaded the xap and js files in the document library through upload option in the browser.
do i need to upload the xap file into the 'common files' folder in the server? (which needs admin level permissions and i cant do that)
#8
Posted 19 December 2011 - 12:35 PM
Regards,
Vivek
Team Visifire
#9
Posted 19 December 2011 - 01:05 PM
<script language="javascript" type="text/javascript">
var VariableName1 = <xsl:value-of select="$ItemCount1" />
var VariableName2 = <xsl:value-of select="$ItemCount2" />
var VariableName3 = <xsl:value-of select="$ItemCount3" />
var VariableName4 = <xsl:value-of select="$ItemCount4" />
var VariableName5 = <xsl:value-of select="$ItemCount5" />
var chartXmlString = ''
+'<vc:Chart Width="500" Height="250" BorderThickness="0" Theme="Theme1" View3D="True" AnimationEnabled="True" ToolBarEnabled="True" Watermark="False" xmlns:vc="clr-namespace:Visifire.Charts;assembly=SLVisifire.Charts">'
+'<vc:Chart.AxesX>'
+'<vc:Axis Title="Tools" TitleFontWeight="Bold">'
+'<vc:Axis.Grids>'
+'<vc:ChartGrid Enabled="False" />'
+'</vc:Axis.Grids>'
+'</vc:Axis>'
+'</vc:Chart.AxesX>'
+'<vc:Chart.AxesY>'
+'<vc:Axis Title="Number of downloads" TitleFontWeight="Bold" AxisType="Primary">'
+'<vc:Axis.Grids>'
+'<vc:ChartGrid Enabled="True" />'
+'</vc:Axis.Grids>'
+'</vc:Axis>'
+'</vc:Chart.AxesY>'
+'<vc:Chart.Series>'
+'<vc:DataSeries RenderAs="bar" AxisYType="Primary" Bevel="False">'
+'<vc:DataSeries.DataPoints>'
+'<vc:DataPoint AxisXLabel="CLONE" YValue="'+VariableName1+'" Href="https://workspaces/s...cil/Lists/Tools Basket/AllItems.aspx?Name=CLONE" />'
+'<vc:DataPoint AxisXLabel="GLoG" YValue="'+VariableName2+'" Href="https://workspaces/s...cil/Lists/Tools Basket/AllItems.aspx?Name=GLoG" />'
+'<vc:DataPoint AxisXLabel="Analyzer" YValue="'+VariableName3+'" Href="https://workspaces/s...cil/Lists/Tools Basket/AllItems.aspx?Name=Analyzer" />'
+'<vc:DataPoint AxisXLabel="SLiM" YValue="'+VariableName4+'" Href="https://workspaces/s...cil/Lists/Tools Basket/AllItems.aspx?Name=SLiM" />'
+'<vc:DataPoint AxisXLabel="B-SMART" YValue="'+VariableName5+'" Href="https://workspaces/s...cil/Lists/Tools Basket/AllItems.aspx?Name=B-SMART" />'
+'</vc:DataSeries.DataPoints>'
+'</vc:DataSeries>'
+'</vc:Chart.Series>'
+'</vc:Chart>';
var vChart1 = new Visifire("https://workspaces/s...Charts.xap" , 500 , 250 );vChart1.setWindowlessState(true);
vChart1.setDataXml(chartXmlString);
vChart1.render("VisifireChart1");
</script>
this is the code, and im sorry, i am unable to give you the path and access to see it.
#10
Posted 19 December 2011 - 01:06 PM
#11
Posted 19 December 2011 - 01:10 PM
Regards,
Vivek
Team Visifire
#12
Posted 19 December 2011 - 01:43 PM
this is a sharepoint website (MOSS 2007), and i have inserted a dataview from the lists which is present in the same site, and taking row count from the dataview, and populating them as graph.
----------------
<xsl:template name="dvt_1">
<xsl:variable name="dvt_StyleName">Table</xsl:variable>
<xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row"/>
<xsl:variable name="dvt_RowCount" select="count($Rows)" />
<xsl:variable name="IsEmpty" select="$dvt_RowCount = 0" />
<xsl:variable name="ItemCount1" select="count(/dsQueryResponse/Rows/Row[normalize-space(@Innovation_x0020_Name) = 'xyz'])" />
<xsl:variable name="ItemCount2" select="count(/dsQueryResponse/Rows/Row[normalize-space(@Innovation_x0020_Name) = 'asdf'])" />
<xsl:variable name="ItemCount3" select="count(/dsQueryResponse/Rows/Row[normalize-space(@Innovation_x0020_Name) = 'zxcv'])" /> <xsl:variable name="ItemCount4" select="count(/dsQueryResponse/Rows/Row[normalize-space(@Innovation_x0020_Name) = 'awed'])" />
<xsl:variable name="ItemCount5" select="count(/dsQueryResponse/Rows/Row[normalize-space(@Innovation_x0020_Name) = 'adsf'])" />
-------------
I am taking the values from here
#13
Posted 20 December 2011 - 04:56 AM
<script type="text/javascript" src="./sites/SW38/InnovationCouncil/Supporting%20files/Visifire.js"></script> <div id="VisifireChart1">
var vChart1 = new Visifire("./sites/SW38/InnovationCouncil/Supporting%20files/SL.Visifire.Charts.xap", 500, 250);
Regards,
Vivek
Team Visifire
#14
Posted 20 December 2011 - 05:03 AM
I am able to make it
<script type="text/javascript" src="/sites/SW38/InnovationCouncil/Supporting%20files/Visifire.js"></script> <div id="VisifireChart1">
var vChart1 = new Visifire("/sites/SW38/InnovationCouncil/Supporting%20files/SL.Visifire.Charts.xap", 500, 250);
awesome!!
#15
Posted 02 March 2012 - 12:18 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











