Skip to content

Commit

Permalink
Merge pull request #549 from ccnmtl/ERD-315-lock-graph
Browse files Browse the repository at this point in the history
Lock the Sim2 graphs so they don't pan or zoom
  • Loading branch information
Evan-CTL authored Oct 2, 2024
2 parents 08f5ee5 + 7c5d7e8 commit b0a1891
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions media/js/src/simulationTwo/scatterPlot2.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ export const ScatterPlot2 = ({controls, data, labelIndex, param}) => {
scaleratio: 1,
minallowed: 0,
},
dragmode: 'pan',
dragmode: false,
}}
useResizeHandler={true}
style={{ height: '88%' }}
config={{
scrollZoom: true,
scrollZoom: false,
displayModeBar: true,
modeBarButtonsToRemove: [
'toImage', 'resetCameraLastSave3d', 'select2d',
Expand Down

0 comments on commit b0a1891

Please sign in to comment.