File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ import moment from 'moment';
5555import {getPluginScalarsScalars } from ' ../../service' ;
5656
5757const originLinesOpacity = 0.3 ;
58- const defaultSmoothWeight = 0.6 ;
5958const lineWidth = 1.5 ;
6059const minQuantile = 0.05 ;
6160const maxQuantile = 0.95 ;
@@ -320,7 +319,7 @@ export default {
320319
321320 transformDataset (seriesData ) {
322321 // smooth
323- this .transformData (seriesData, this .smoothing || defaultSmoothWeight );
322+ this .transformData (seriesData, this .smoothing );
324323 },
325324
326325 /**
@@ -543,11 +542,11 @@ export default {
543542 }
544543 let sortedPoints;
545544 switch (sortingMethod) {
546- case ' desc ' :
545+ case ' descending ' :
547546 sortedPoints = sortBy (points, one => one .item [3 ]);
548547 sortedPoints .reverse ();
549548 break ;
550- case ' asc ' :
549+ case ' ascending ' :
551550 sortedPoints = sortBy (points, one => one .item [3 ]);
552551 break ;
553552 case ' nearest' :
You can’t perform that action at this time.
0 commit comments