Skip to content

Commit

Permalink
fix: remove line chart tweening animation
Browse files Browse the repository at this point in the history
  • Loading branch information
tracy-french authored and diehbria committed Dec 5, 2023
1 parent b481beb commit d9e894b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-components/src/components/chart/baseChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const BaseChart = ({ viewport, queries, size = { width: 500, height: 500 }, ...o
yAxis,
xAxis,
graphic: trendCursors,
animation: !viewportInMs.isDurationViewport,
animation: false,
appKitChartId: options.id,
},
settings
Expand All @@ -161,7 +161,7 @@ const BaseChart = ({ viewport, queries, size = { width: 500, height: 500 }, ...o
const handleMouseDown = (e: MouseEvent) => {
const target = e.target;

/* Condition to check localName of Canvas to stop onMouseDouwn event
/* Condition to check localName of Canvas to stop onMouseDouwn event
propagation to fix widget dragging or moving issue while panning on chart */
if (target instanceof Element && target.localName === 'canvas') {
e.stopPropagation();
Expand Down

0 comments on commit d9e894b

Please sign in to comment.