Skip to content

Commit

Permalink
Removed "trace 0" label on graph bar hover
Browse files Browse the repository at this point in the history
  • Loading branch information
Liototo committed May 10, 2024
1 parent 350de83 commit 0a862e0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/collaboration/src/activitydisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const ActivityDisplayComponent: React.FC<ActivityDisplayComponentProps> = ({trac
type: 'bar',
orientation: 'h',
marker: {color: 'green'},
hovertemplate: '%{x} user(s) on cell %{y}'
hovertemplate: '%{x} user(s) on cell %{y}<extra></extra>'
}] as Plotly.Data[];

const layout = {
Expand All @@ -108,9 +108,6 @@ const ActivityDisplayComponent: React.FC<ActivityDisplayComponentProps> = ({trac
r: 30,
t: 30,
b: 60
},
hoverlabel: {
namelength: 0
}
};

Expand Down

0 comments on commit 0a862e0

Please sign in to comment.