i am unable to do scroll and zoom effect in react
<Plot
data={[{
x: this.state.xValues,
y: this.state.yValues,
type: ‘scatter’,
mode: ‘lines+markers’,
}
]}
layout={{
title: ‘A Fancy Plot’,
autosize: true,
annotations:annotations,
showlegend: false,
}}
scrollZoom={true}
showLink={true}
useResizeHandler={true}
style={{
width: "80%",
height: "80%"
}}
/>