Disable zoom on Y axis
This commit is contained in:
parent
41e56101ae
commit
42f9fa264c
|
@ -138,7 +138,6 @@ const LogCanvas = ({ data, width, height, selectedFields }: Props) => {
|
|||
legend: false,
|
||||
zoom: {
|
||||
x: { autoRange: true },
|
||||
y: { autoRange: true },
|
||||
},
|
||||
tooltipXLabel: 'Time (s)',
|
||||
plugins: {
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue