Skip to content

Commit

Permalink
removes tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez committed Mar 20, 2024
1 parent 04b13a8 commit 95203b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ const SupplierSourcingInfoChart = (): JSX.Element => {
type="category"
width={200}
/>
<Tooltip
{/* <Tooltip
cursor={{ fill: 'transparent' }}
labelFormatter={(value: string) => format(new Date(value), 'yyyy')}
formatter={(value: number, name) => [`${value.toFixed(2)}%`, name]}
/>
/> */}
{plotConfig.map(({ name, color }) => (
<Bar
key={name}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,14 @@ const SuppliersStackedBar = () => {
type="category"
width={200}
/>
<Tooltip
{/* <Tooltip
cursor={{ fill: 'transparent' }}
labelFormatter={(value: string) => value}
formatter={(value: number, name: keyof typeof TOOLTIP_LABELS) => [
`${value.toFixed(2)}%`,
TOOLTIP_LABELS[name],
]}
/>
/> */}
<Bar
dataKey="free"
stackId="a"
Expand Down

0 comments on commit 95203b4

Please sign in to comment.