Skip to content

Commit fd687ff

Browse files
committed
ax tab with tooltips and updated styling
1 parent 7dc27a9 commit fd687ff

File tree

1 file changed

+1
-9
lines changed
  • src/app/components/StateRoute/AxMap

1 file changed

+1
-9
lines changed

src/app/components/StateRoute/AxMap/Ax.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -318,14 +318,6 @@ export default function AxTree(props) {
318318
populateNodeAxArr(rootAxNode);
319319
console.log('nodeAxArr: ', nodeAxArr);
320320

321-
const {
322-
containerRef // Access to the container's bounding box. This will be empty on first render.
323-
} = useTooltipInPortal({
324-
// Visx hook
325-
detectBounds: true, // use TooltipWithBounds
326-
scroll: true, // when tooltip containers are scrolled, this will correctly update the Tooltip position
327-
});
328-
329321
// ax Legend
330322
const { axLegendButtonClicked } = useSelector((state: RootState) => state.axLegend);
331323
const dispatch = useDispatch();
@@ -614,7 +606,7 @@ export default function AxTree(props) {
614606
<strong>{JSON.stringify(tooltipData['name'].value)}</strong>
615607
</div>
616608
<div>
617-
<ToolTipDataDisplay containerName='Ax State' dataObj={tooltipData} />
609+
<ToolTipDataDisplay containerName='Ax Node Info' dataObj={tooltipData} />
618610
{/* <ToolTipDataDisplay containerName='State'dataObj={tooltipData}/> */}
619611
</div>
620612
</div>

0 commit comments

Comments
 (0)