Disable zoom on Y axis

This commit is contained in:
Piotr Rogowski 2021-12-17 00:16:07 +01:00
parent 41e56101ae
commit 42f9fa264c
No known key found for this signature in database
GPG Key ID: F40F61D5587F5673
2 changed files with 4 additions and 6 deletions

View File

@ -138,7 +138,6 @@ const LogCanvas = ({ data, width, height, selectedFields }: Props) => {
legend: false,
zoom: {
x: { autoRange: true },
y: { autoRange: true },
},
tooltipXLabel: 'Time (s)',
plugins: {

View File

@ -127,13 +127,13 @@ const CompositeCanvas = ({ data, width, height }: Props) => {
});
const series = [{
name: 'Primary',
color: Colors.BLUE,
data: primary,
}, {
name: 'Secondary',
color: Colors.GREEN,
data: secondary,
}, {
name: 'Primary',
color: Colors.BLUE,
data: primary,
}, {
name: 'Sync',
color: Colors.RED,
@ -148,7 +148,6 @@ const CompositeCanvas = ({ data, width, height }: Props) => {
legend: false,
zoom: {
x: { autoRange: true },
y: { autoRange: true },
},
yRange: { min: -1, max: 9 },
tooltipXLabel: 'Event',