Skip to content

Commit 1ae483b

Browse files
committed
Fixed stock tools demo.
1 parent 6c77542 commit 1ae483b

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

highcharts-stock/stock-features/stock-tools-gui.ipynb

+15-15
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
},
216216
{
217217
"cell_type": "code",
218-
"execution_count": 7,
218+
"execution_count": 6,
219219
"id": "17bed092-879b-41c2-a47f-b74ff25ba12e",
220220
"metadata": {
221221
"tags": []
@@ -531,18 +531,6 @@
531531
" script.onerror = reject; script.src = 'https://code.highcharts.com/modules/xrange.js'; document.head.appendChild(script);\n",
532532
" };\n",
533533
"}).then(() => {new Promise(function(resolve, reject) {\n",
534-
" var existing_tags = document.querySelectorAll(\"link[href='https://code.highcharts.com/css/stocktools/gui.css']\"); if (existing_tags.length == 0) {\n",
535-
" var link = document.createElement(\"link\");\n",
536-
" link.onload = resolve;\n",
537-
" link.onerror = reject; link.href = 'https://code.highcharts.com/css/stocktools/gui.css'; link.rel = 'stylesheet'; link.type = 'text/css'; document.head.appendChild(link);\n",
538-
" };\n",
539-
"}).then(() => {new Promise(function(resolve, reject) {\n",
540-
" var existing_tags = document.querySelectorAll(\"link[href='https://code.highcharts.com/css/annotations/popup.css']\"); if (existing_tags.length == 0) {\n",
541-
" var link = document.createElement(\"link\");\n",
542-
" link.onload = resolve;\n",
543-
" link.onerror = reject; link.href = 'https://code.highcharts.com/css/annotations/popup.css'; link.rel = 'stylesheet'; link.type = 'text/css'; document.head.appendChild(link);\n",
544-
" };\n",
545-
"}).then(() => {new Promise(function(resolve, reject) {\n",
546534
" var existing_tags = document.querySelectorAll(\"script[src='https://code.highcharts.com/stock/modules/stock.js']\"); if (existing_tags.length == 0) {\n",
547535
" var script = document.createElement(\"script\");\n",
548536
" script.onload = resolve;\n",
@@ -579,6 +567,18 @@
579567
" script.onerror = reject; script.src = 'https://code.highcharts.com/modules/full-screen.js'; document.head.appendChild(script);\n",
580568
" };\n",
581569
"}).then(() => {new Promise(function(resolve, reject) {\n",
570+
" var existing_tags = document.querySelectorAll(\"link[href='https://code.highcharts.com/css/stocktools/gui.css']\"); if (existing_tags.length == 0) {\n",
571+
" var link = document.createElement(\"link\");\n",
572+
" link.onload = resolve;\n",
573+
" link.onerror = reject; link.href = 'https://code.highcharts.com/css/stocktools/gui.css'; link.rel = 'stylesheet'; link.type = 'text/css'; document.head.appendChild(link);\n",
574+
" };\n",
575+
"}).then(() => {new Promise(function(resolve, reject) {\n",
576+
" var existing_tags = document.querySelectorAll(\"link[href='https://code.highcharts.com/css/annotations/popup.css']\"); if (existing_tags.length == 0) {\n",
577+
" var link = document.createElement(\"link\");\n",
578+
" link.onload = resolve;\n",
579+
" link.onerror = reject; link.href = 'https://code.highcharts.com/css/annotations/popup.css'; link.rel = 'stylesheet'; link.type = 'text/css'; document.head.appendChild(link);\n",
580+
" };\n",
581+
"}).then(() => {new Promise(function(resolve, reject) {\n",
582582
" var existing_tags = document.querySelectorAll(\"script[src='https://code.highcharts.com/modules/stock-tools.js']\"); if (existing_tags.length == 0) {\n",
583583
" var script = document.createElement(\"script\");\n",
584584
" script.onload = resolve;\n",
@@ -634,7 +634,7 @@
634634
" }\n",
635635
" }\n",
636636
" });\n",
637-
" };function insertChart_OP3HE6() {\n",
637+
" };function insertChart_H3JZPM() {\n",
638638
"\n",
639639
"new Highcharts.stockChart('highcharts_target_div',\n",
640640
"{\n",
@@ -6259,7 +6259,7 @@
62596259
");\n",
62606260
"\n",
62616261
"};\n",
6262-
"retryHighcharts(insertChart_OP3HE6, 'highcharts_target_div', 3, 3, 1000);"
6262+
"retryHighcharts(insertChart_H3JZPM, 'highcharts_target_div', 3, 3, 1000);"
62636263
],
62646264
"text/plain": [
62656265
"<IPython.core.display.Javascript object>"

0 commit comments

Comments
 (0)