dg-dashboard-var
功能:自定义看板页面的看板对象变量名,默认看板对象变量名为:window.dashboard。
必填:否
元素:<html>
格式:字符串
示例:
将看板对象变量名自定义为:myDashboard
<html dg-dashboard-var="myDashboard">
<head>
<script type="text/javascript">
$(document).ready(function()
{
var myChart = myDashboard.getChart(0);
});
</script>
</head>
<body>
...
</body>
</html>