Skip to content

Commit

Permalink
update: 1. color for chart. 2. line chart for eva.
Browse files Browse the repository at this point in the history
Signed-off-by: ArvinHuang <[email protected]>
  • Loading branch information
idwenwen committed Dec 21, 2023
1 parent d23ec4f commit 48f8b54
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ export default function ExpPR (
const threshold = thresholdMapping.get(namespace)
parameter.ths = fixed(threshold[componentName][each.dataIndex])
}
parameter['precision'] = each.data
parameter['recall'] = ''
parameter['precision'] = each.data[0]
parameter['recall'] = each.data[1]
parameters.set(componentName, parameter)
}
let display = ''
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function EvaLift (

const basicChartConfiguration = {
xAxis: {
type: 'category',
type: 'value',
},
yAxis: {
type: 'value',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ import LayoutHeader from './LayoutHeader.vue';
.fade-enter-active,
.fade-leave-active {
transition: opacity 0.5s ease;
transition: opacity 1s ease;
}
.fade-enter-from,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import './selection.scss';
import './Selection.scss';
import FSelection from './Selection.vue';
import FSelectionChart from './SelectionChart.vue';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function randomColor(count: number, gp = 1) {
const cp = one(i);
colors.push(cp);
count -= cp.length;
i++
i++;
}
return colors;
}

0 comments on commit 48f8b54

Please sign in to comment.