From db4b5129f3837ded18639711dbbbb0f8ef676f2b Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Sun, 6 Sep 2020 16:30:39 -0300 Subject: [PATCH 1/3] Plotly: remove title of x axis --- src/components/Plotly.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Plotly.vue b/src/components/Plotly.vue index 0c5e914f..576dfd1b 100644 --- a/src/components/Plotly.vue +++ b/src/components/Plotly.vue @@ -653,7 +653,7 @@ export default { plotOptions.xaxis = { rangeslider: {}, domain: this.calculateXAxisDomain(), - title: 'time_boot (ms)', + title: ' ', tickformat: ':04,2f' } if (this.plotInstance !== null) { From da7c998e8824102dc749ee228685a02b55903df5 Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Sun, 6 Sep 2020 16:10:46 -0300 Subject: [PATCH 2/3] Plotly: switch to lines+markers --- src/components/Plotly.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Plotly.vue b/src/components/Plotly.vue index 576dfd1b..10c3b1ee 100644 --- a/src/components/Plotly.vue +++ b/src/components/Plotly.vue @@ -616,7 +616,7 @@ export default { datasets.push({ name: expression.name, // type: 'scattergl', - mode: 'lines', + mode: 'lines+markers', x: data.x, y: data.y, yaxis: 'y' + (expression.axis + 1), From f75ef064d0696f46b2c2ecf748a432eadc1f908f Mon Sep 17 00:00:00 2001 From: Willian Galvani Date: Sun, 6 Sep 2020 16:22:32 -0300 Subject: [PATCH 3/3] Plotly: use cross markers --- src/components/Plotly.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/Plotly.vue b/src/components/Plotly.vue index 10c3b1ee..5c6a9b8d 100644 --- a/src/components/Plotly.vue +++ b/src/components/Plotly.vue @@ -625,8 +625,13 @@ export default { width: 1.5 }, marker: { - size: 4, - color: expression.color + size: 5, + symbol: 'cross-thin', + color: expression.color, + line: { + color: expression.color, + width: 1 + } } }) let axisname = expression.axis > 0 ? ('yaxis' + (expression.axis + 1)) : 'yaxis'