简体   繁体   English

在SharePoint 2013中使用jChartFX时出错

[英]Error using jChartFX with SharePoint 2013

I am attempting to create a graph in a web part using jChartFX. 我正在尝试使用jChartFX在Web部件中创建图形。 However, when I include the jchartfx.system.js file, the Visual Studio debugger breaks on a JavaScript runtime error, stating that a semicolon (;) is expected. 但是,当我包含jchartfx.system.js文件时,Visual Studio调试器由于JavaScript运行时错误而中断,指出应该使用分号(;)。 The file in question is inplview.js, a SharePoint file. 有问题的文件是SharePoint文件inplview.js。 If I remove the jchart.system.js file, everything is kosher. 如果删除jchart.system.js文件,则一切正常。 Is jChartFX simply not compatible with SharePoint, or am I doing something wrong? jChartFX仅仅是与SharePoint不兼容,还是我做错了什么? If it's incompatible, are there similar libraries that I can use to create a graph? 如果不兼容,是否可以使用类似的库来创建图形?

Add the following basic references in the same order. 以相同的顺序添加以下基本参考。

jquery-1.10.2.min,
jchartfx,
jchartfx.system,
jchartfx.coreBasic,
jchartfX.coreVector,
jchartfx.advanced,
jchartfx.coreVector3d

If you are trying to view the chart in IE 9+ then add the following in the meta tag 如果您尝试在IE 9+中查看图表,请在meta标记中添加以下内容

content=IE=9

Regards, Thenga Thotti Nadana Kulu 此致,恩加·图蒂·纳达纳·库鲁

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM