@using Syncfusion.Dashboard.JavaScript
@using Syncfusion.Dashboard.JavaScript.Models
@addTagHelper"*, Syncfusion.EJ.DashboardViewer.AspNet.Core"
@addTagHelper *, Syncfusion.EJ2 |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AspNetCore - DashboardViewer</title>
<link rel="stylesheet" rel='nofollow' href="~/dashboard/themes/default-theme/bootstrap.min.css" />
<link rel="stylesheet" rel='nofollow' href="~/dashboard/themes/default-theme/ej.dashboardViewer.all.min.css"/>
<link rel="stylesheet"rel='nofollow' href="https://cdn.syncfusion.com/ej2/styles/compatibility/material.css" />
<script src="~/dashboard/scripts/jquery-1.10.2.min.js"></script>
<script src="~/dashboard/scripts/jquery.easing.1.3.min.js"></script>
<script src="~/dashboard/scripts/ej.dashboardViewer.all.min.js"></script>
<script src="https://cdn.syncfusion.com/ej2/dist/ej2.min.js"></script>
</head>
<body style="height:100%;width:100%;padding:0;">
<div class="container body-content" style="height:100%;width:100%;">
@RenderBody()
<ej-script-manager></ej-script-manager>
<ejs-scripts></ejs-scripts>
</div>
@RenderSection("scripts", required: false)
</body>
</html>
|
<style>
body, html, #dashboard {
height: 100%;
width: 100%;
}
</style>
<div style="height:50px;width:100%;text-align:center;font-size:20px">EJ2 Date Picker Component</div>
<ejs-calendar id="calendar"></ejs-calendar>
<div style="height:50px;width:100%;text-align:center;font-size:20px">Dashboard</div>
<ej-dashboardviewer id="dashboard" service-url="https://dashboardsdk.syncfusion.com/DashboardService/DashboardService.svc" dashboard-path="https://dashboardsdk.syncfusion.com//Dashboards//WorldWideCarSalesDashboard.sydx" ></ej-dashboardviewer> |