From 922623a1396183811a720e4fc18c4ed7843e3646 Mon Sep 17 00:00:00 2001 From: Lucas Terriel Date: Mon, 25 Mar 2024 11:48:40 +0100 Subject: [PATCH] responsive tests on histogram --- src/components/RegisterHistogramChartBox.vue | 37 ++++++++++++-------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/src/components/RegisterHistogramChartBox.vue b/src/components/RegisterHistogramChartBox.vue index 8fe7730..324e02b 100644 --- a/src/components/RegisterHistogramChartBox.vue +++ b/src/components/RegisterHistogramChartBox.vue @@ -89,14 +89,14 @@ export default { showline: false }, yaxis: { - title: 'Pages' + title: '' }, uirevision: false, displayModeBar: false }; const graph = document.getElementById('histogram'); - Plotly.newPlot(graph, [trace], layout, {responsive: true, displayModeBar: true}); + Plotly.newPlot(graph, [trace], layout, {responsive: true, displayModeBar: false}); graph.on('plotly_relayout', () => { const xaxis = graph.layout.xaxis; if (xaxis.range) { @@ -127,26 +127,35 @@ export default {