-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="stylesheet" href="https://code.highcharts.com/dashboards/2.2.0/css/dashboards.css" /> | ||
<script src="https://code.highcharts.com/dashboards/2.2.0/dashboards.src.js"></script> | ||
<script src="../../code/morningstar-connectors.src.js"></script> | ||
<title>Highcharts Stock Demo - Morningstar Connectors Demos</title> | ||
</head> | ||
<body> | ||
<div id="container"></div> | ||
<script src="./demo.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
const MCS = Dashboards.MorningstarConnectors.Shared; | ||
const api = new MCS.MorningstarAPI(); | ||
|
||
(async () => { | ||
const environment = await (await fetch('/tmp/Environment.json')).json(); | ||
|
||
Dashboards.board('container', { | ||
dataPool: { | ||
connectors: [{ | ||
type: 'MorningstarTimeSeries', | ||
options: { | ||
api: { | ||
authentication: { | ||
password: environment.values[2].value, | ||
username: environment.values[1].value | ||
} | ||
} | ||
} | ||
}] | ||
} | ||
}); | ||
|
||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>Morningstar Connectors Demos - Highcharts Dashboards</title> | ||
</head> | ||
<body> | ||
<div> | ||
<h1>Morningstar Connectors Demos</h1> | ||
<ul> | ||
<li><a href="demos/dashboards/demo.html">Highcharts Dashboards Demo</a></li> | ||
<li><a href="demos/data-grid/demo.html">Highcharts DataGrid Demo</a></li> | ||
<li><a href="demos/highcharts/demo.html">Highcharts Demo</a></li> | ||
<li><a href="demos/stock/demo.html">Highcharts Stock Demo</a></li> | ||
</ul> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters