thinkwee commited on
Commit
5026fae
·
1 Parent(s): 40e7624

fix display

Browse files
Files changed (1) hide show
  1. charts.js +1 -4
charts.js CHANGED
@@ -335,11 +335,8 @@ function updateScalingCharts(dimension) {
335
  paths = graphDiv.querySelectorAll('.scatter path');
336
  }
337
 
338
- console.log(`Found ${paths.length} paths for ${scenario}`);
339
-
340
  paths.forEach((path, idx) => {
341
  const len = path.getTotalLength();
342
- console.log(`Path ${idx}: length = ${len}`);
343
 
344
  if (len > 0) {
345
  // Reset any previous animation
@@ -352,7 +349,7 @@ function updateScalingCharts(dimension) {
352
 
353
  // Start animation after a tiny delay
354
  setTimeout(() => {
355
- path.style.transition = 'stroke-dashoffset 2s ease-out';
356
  path.style.strokeDashoffset = '0';
357
  }, 10);
358
  }
 
335
  paths = graphDiv.querySelectorAll('.scatter path');
336
  }
337
 
 
 
338
  paths.forEach((path, idx) => {
339
  const len = path.getTotalLength();
 
340
 
341
  if (len > 0) {
342
  // Reset any previous animation
 
349
 
350
  // Start animation after a tiny delay
351
  setTimeout(() => {
352
+ path.style.transition = 'stroke-dashoffset 0.8s ease-out';
353
  path.style.strokeDashoffset = '0';
354
  }, 10);
355
  }