Skip to content

Commit 35b333b

Browse files
authored
Fix custom plot tooltips (#4102)
1 parent 8d68a30 commit 35b333b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

extension/src/plots/model/custom.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ export const createSpec = (title: string, metric: string, param: string) =>
9797
encoding: {
9898
tooltip: [
9999
{
100-
field: 'expName',
101-
title: 'name'
100+
field: 'id',
101+
title: 'id'
102102
},
103103
{
104104
field: 'metric',

extension/src/test/fixtures/expShow/base/customPlots.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ const data: CustomPlotsData = {
126126
encoding: {
127127
tooltip: [
128128
{
129-
field: 'expName',
130-
title: 'name'
129+
field: 'id',
130+
title: 'id'
131131
},
132132
{
133133
field: 'metric',
@@ -244,8 +244,8 @@ const data: CustomPlotsData = {
244244
encoding: {
245245
tooltip: [
246246
{
247-
field: 'expName',
248-
title: 'name'
247+
field: 'id',
248+
title: 'id'
249249
},
250250
{
251251
field: 'metric',

0 commit comments

Comments
 (0)