Discover: sideBar trace done.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import cytoscape from 'cytoscape';
|
||||
import dagre from 'cytoscape-dagre';
|
||||
// import tippy from 'tippy.js';
|
||||
// import 'tippy.js/dist/tippy.css';
|
||||
import Gradient from 'javascript-color-gradient'; // 多個色階產生器
|
||||
import TimeLabel from '@/module/timeLabel.js'; // 時間格式轉換器
|
||||
|
||||
@@ -116,7 +118,7 @@ export default function cytoscapeMap(mapData, dataLayerType, dataLayerOption, cu
|
||||
text = Math.trunc(optionValue) === optionValue ? textInt : textFloat;
|
||||
break;
|
||||
|
||||
case 'duration': // Duration 除了 Relative 為百分比 % ,其他要轉變時間單位。
|
||||
case 'duration': // Duration 除了 Relative 為百分比 % ,其他要轉變時間單位。
|
||||
// Relative %
|
||||
let textDurRel = text + (optionValue * 100).toFixed(2) + "%";
|
||||
// Timelabel
|
||||
|
||||
Reference in New Issue
Block a user