File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed
projects/js-packages/charts
components/leaderboard-chart Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change 1+ Significance: minor
2+ Type: changed
3+
4+ Leaderboard chart: Update exports and layout flex behaviour
Original file line number Diff line number Diff line change @@ -242,15 +242,7 @@ const LeaderboardChartInternal: FC< LeaderboardChartProps > = ( {
242242 gap : showLegend ? '16px' : '0' ,
243243 } }
244244 >
245- < Grid
246- className = { styles . leaderboardGrid }
247- templateColumns = "minmax(0, 1fr) auto"
248- rowGap = { rowGap }
249- columnGap = { columnGap }
250- style = { {
251- flex : 1 ,
252- } }
253- >
245+ < Grid templateColumns = "minmax(0, 1fr) auto" rowGap = { rowGap } columnGap = { columnGap } >
254246 { data . map ( entry => {
255247 const colorIndex = Math . sign ( entry . delta ) + 1 ;
256248 const deltaColor = deltaColors [ colorIndex ] ;
Original file line number Diff line number Diff line change 77 PieSemiCircleChartUnresponsive ,
88} from './components/pie-semi-circle-chart' ;
99export { BarListChart , BarListChartUnresponsive } from './components/bar-list-chart' ;
10- export { LeaderboardChart } from './components/leaderboard-chart' ;
10+ export { LeaderboardChart , LeaderboardChartUnresponsive } from './components/leaderboard-chart' ;
1111export { ConversionFunnelChart } from './components/conversion-funnel-chart' ;
1212
1313// Chart components
You can’t perform that action at this time.
0 commit comments