Skip to content

Commit

Permalink
Merge 8abf53a into 7167ce1
Browse files Browse the repository at this point in the history
  • Loading branch information
terryttsai committed May 31, 2022
2 parents 7167ce1 + 8abf53a commit ae405ae
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions spotlight-client/src/charts/ProportionalBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,14 @@ export default function ProportionalBar({
/>
</ResponsiveTooltipController>
</ProportionalBarChartWrapper>
{showLegend && (
<ProportionalBarMetadata>
{!preview && (
<ProportionalBarTitle>
{title}
{noData && ", No Data"}
</ProportionalBarTitle>
)}

<ProportionalBarMetadata>
{!preview && (
<ProportionalBarTitle>
{title}
{noData && ", No Data"}
</ProportionalBarTitle>
)}
{showLegend && (
<ProportionalBarLegendWrapper>
<ColorLegend
highlighted={highlighted}
Expand All @@ -157,8 +156,8 @@ export default function ProportionalBar({
}
/>
</ProportionalBarLegendWrapper>
</ProportionalBarMetadata>
)}
)}
</ProportionalBarMetadata>
</>
)}
</ProportionalBarContainer>
Expand Down

0 comments on commit ae405ae

Please sign in to comment.