[Lens][Visualize] Hides the unused dimension label from the tooltip (#143721)

This commit is contained in:
Stratoula Kalafateli 2022-10-20 14:15:55 +03:00 committed by GitHub
parent 610d7ea4ef
commit eaf4e5ca2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -619,8 +619,8 @@ export const HeatmapComponent: FC<HeatmapRenderProps> = memo(
xScale={xScale}
ySortPredicate={yAxisColumn ? getSortPredicate(yAxisColumn) : 'dataIndex'}
xSortPredicate={xAxisColumn ? getSortPredicate(xAxisColumn) : 'dataIndex'}
xAxisLabelName={xAxisColumn?.name}
yAxisLabelName={yAxisColumn?.name}
xAxisLabelName={xAxisColumn?.name || ''}
yAxisLabelName={yAxisColumn?.name || ''}
xAxisTitle={args.gridConfig.isXAxisTitleVisible ? xAxisTitle : undefined}
yAxisTitle={args.gridConfig.isYAxisTitleVisible ? yAxisTitle : undefined}
xAxisLabelFormatter={(v) =>