任何Forge API都可以告诉我创建该文件的软件版本(Are any of the Forge APIs able to tell me the version of the software that created that created file)
如果我上传Revit文件,任何API都可以告诉我它是用哪个版本创建的? dwg,3ds和其他文件一样。 谢谢
If I upload a Revit file can any API tell me what version it was created with? Same for dwg, 3ds and any other file. Thanks
原文:https://stackoverflow.com/questions/49141340
最满意答案
对我来说非常好用。 看到这个小提琴 。
您确定要将此设置为正确的设置网址:
../js/c3.min.js
D3是关闭CDN但你的C3不在本地路径上,所以检查路径是否正在解析(在浏览器中打开开发人员工具并检查错误)。
在小提琴我也包括c3.css,我注意到你的代码没有。
Works perfectly well for me. See this fiddle.
Are you sure you're setting this to the correct url for your setup:
../js/c3.min.js
The D3 is off a CDN but your C3 is off a local path, so check that path is resolving (open Developer Tools in your browser & check for errors).
In the fiddle I also included the c3.css, which I notice your code hasn't got.
相关问答
更多-
这完全没问题。 我基于C3.js网站上的Category Axis示例 。 $(document).ready(function() { var mammoReconstructionsAcceptedChart = c3.generate({ bindto: '#mammo_reconstructions_accepted', data: { columns: [ ['data1', 30, 200, 100, 400, 150, 250] ...
-
C3.js连接失败(C3.js connection fails)[2022-06-08]
对我来说非常好用。 看到这个小提琴 。 您确定要将此设置为正确的设置网址: ../js/c3.min.js D3是关闭CDN但你的C3不在本地路径上,所以检查路径是否正在解析(在浏览器中打开开发人员工具并检查错误)。 在小提琴我也包括c3.css,我注意到你的代码没有。 Works perfectly well for me. See this fiddle. Are you sure you're setting this to the correct url for your setup: ../js ... -
c3.js图表和wkhtmltopdf(c3.js chart and wkhtmltopdf)[2024-02-09]
升级到最新版本或解决此处解决的一些解决方法https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1964似乎已解决此问题。 Upgrade to the latest version or there are a few workarounds explained here https://github.com/wkhtmltopdf/wkhtmltopdf/issues/1964 which appear to have resolved this issue ... -
PDO连接失败(PDO Connection fails)[2023-09-06]
我认为你的代码中的问题是你使用静态函数来返回连接而你的构造函数不会分配给你的私有变量 私有$连接的第一个解决方案: class DBConnection { private $connection; function __construct(){ $this->connection = $this->open_connection(); } public static function open_connection(){ try { $connection = new PDO( ... -
如何删除c3.js中的填充?(How to remove padding in c3.js?)[2022-03-09]
从文档看来,您可以添加一个axis.x.padding设置,如下所示: axis: { x: { padding: { left: 0, right: 0, } } } 这里是一个小提琴: http : //jsfiddle.net/cnp4de61/ (代码顶部附近的填充内容显然是为了页面内的整个图表)。 From the docs, it looks like you can add an axis.x.padding setting, like so: ... -
如何使用c3.js没有数据选项(How to use c3.js No data option)[2024-04-02]
你的小提琴中有两个问题: 问题1: data: { columns: [ ['electricity plants', elec_plants], ['CHP plants', chp_planrs], ['Unallocated autoproducers / Other energy industry own use', auto_pro], ['Other', other_elec], ... -
C3.js绘制xy图表,线之间没有正确连接(C3.js plotting xy chart, line not getting connected properly between points)[2023-04-03]
这是因为您的数据具有重复的x值,并且相应的y值上升然后下降。 就像是 F => ['F', .... 4, 4, 4, ...]; T => ['T', .... 21, 23, 22, ...]; 如果希望线条连续,则可以在F(X)值相等时对T值进行排序。 就像是 // construct an array of arrays - each element contains the T values for an F value var groupedT = []; T.forEach(functi ... -
您可以使用选项填充>右键,就像这样 var chart = c3.generate({ padding: { right: 20 }, data: { ... 来自http://c3js.org/reference.html#padding-right的文档 padding.right 图表右侧的填充。 默认值:未定义 You can use the option padding > right, like so var chart = c3.generat ...
-
你可以在这里找到一个例子。 var chart = c3.generate({ data: { columns: [ ['bulls', 30], ['lakers', 50], ], type : 'donut', }, donut: { width: 100 } }) 小提琴: http : //jsfiddle.net/ktjhh5qr/2/ You can find an example here. var chart = c3.gene ...
-
最简单的语法是这样的: chart.tooltip.show({x: 5}); jsFiddle演示 这是你想要的吗? The simpliest syntax is this: chart.tooltip.show({x: 5}); jsFiddle demo Is this is what you want?