Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

view manifest for chart view #33

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions js/left-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ class LeftMenu extends HTMLElement {
//List of apps available in the menu.
this.appList = [
{
url: CHART_URL,
// A JSON manifest can be used for View Options starting in runtime v16.83.53.*+
// Any properties in the manifest will overwrite other properties given here
manifestUrl: window.location.href.replace('platform-window.html', 'view-manifest.json'),
printName: 'OF Chart',
processAffinity: 'ps_1'
},
{
url: 'https://www.tradingview.com/chart/?symbol=NASDAQ:AAPL',
Expand Down
1 change: 0 additions & 1 deletion public.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"content": [
{
"type": "stack",
"id": "no-drop-target",
"content": [
{
"type": "component",
Expand Down
4 changes: 4 additions & 0 deletions view-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"processAffinity": "ps_1",
"url": "https://cdn.openfin.co/embed-web/chart.html"
}