diff --git a/src/panel/graph_panel/graph_ctrl.ts b/src/panel/graph_panel/graph_ctrl.ts index 7284d04..546f30d 100644 --- a/src/panel/graph_panel/graph_ctrl.ts +++ b/src/panel/graph_panel/graph_ctrl.ts @@ -521,11 +521,12 @@ class GraphCtrl extends MetricsPanelCtrl { // return res; // } + get pluginPath() { + return '/public/plugins/hastic-app'; + } + get panelPath() { - if (this._panelPath === undefined) { - this._panelPath = 'public/plugins/hastic-app/panel/graph_panel'; - } - return this._panelPath; + return this.pluginPath + '/panel/graph_panel'; } createNew() { diff --git a/src/panel/graph_panel/partials/tab_analytics.html b/src/panel/graph_panel/partials/tab_analytics.html index 5ae00d8..0fa90e9 100644 --- a/src/panel/graph_panel/partials/tab_analytics.html +++ b/src/panel/graph_panel/partials/tab_analytics.html @@ -191,7 +191,7 @@ 4) Click 'create' button. Labeling segments: - 1) Click on the chart symbol to enter labeling mode. + 1) Click on the chart symbol to enter labeling mode. 2) Hold down 'Ctrl' button on your keyboard and hold down left mouse button while dragging to label segments manually. Release LMB to finish labeling the segment. 3) After all of the needed segments are labeled click on the chart symbol again to exit labeling mode. @@ -199,7 +199,7 @@ Deleting segments: 1) Click on the chart symbol to enter labeling mode. (skip this step if you are already in labeling mode) - 2) Press 'D' key twice to switch from to . + 2) Press 'D' key twice to switch from to . 3) Hold down 'Ctrl' button on your keyboard and hold down left mouse button while dragging to mark segments for deletion. 4) After all of the needed segments are deleted click on the chart symbol again to exit labeling mode. @@ -209,16 +209,16 @@ 1) General: patterns in your data that don't fall under any of provided built-in patterns. 2) Peaks: a sharp increase to a certain single value, followed by a return to the original value. - + 3) Troughs: a sharp decrease to a certain single value, followed by a return to the original value. - + 4) Jumps: increase to a certain value without returning to the original state. - + 5) Drops: decrease to a certain value without returning to the original state. - + 6) Custom: any custom model created and imported by you.