Skip to content

Conversation

@dlabrecq
Copy link
Member

@dlabrecq dlabrecq commented Feb 17, 2023

Although the chart's custom tooltip example is working, I'm seeing some warnings in the browser console. Therefore, I've refactored the example to reference ChartLabel instead.

Closes #8591

@dlabrecq dlabrecq changed the title fix(charts) fix broken tooltip examples Charts - fix broken tooltip examples Feb 17, 2023
@dlabrecq dlabrecq added the PF5 label Feb 17, 2023
@patternfly-build
Copy link
Contributor

patternfly-build commented Feb 17, 2023

@dlabrecq dlabrecq force-pushed the v5-8591-tooltip-example branch from 01aef28 to da36972 Compare February 17, 2023 16:04
@dlabrecq dlabrecq force-pushed the v5-8591-tooltip-example branch from 14f46c0 to fef29d9 Compare February 20, 2023 14:15
@dlabrecq dlabrecq requested a review from gitdallas February 20, 2023 14:52
Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am seeing these two issues in the console when I load tooltip examples.
image

ChartContainer was missing height and width
@dlabrecq
Copy link
Member Author

dlabrecq commented Feb 21, 2023

@tlabaj That particular error is unrelated, it's caused by the "CSS overflow" example.
https://patternfly-react-pr-8707.surge.sh/charts/tooltips#css-overflow

The ChartContainer was missing a height and width value. Regardless, I've refactored that particular example to eliminate the error message.

@dlabrecq dlabrecq requested a review from tlabaj February 22, 2023 20:00
Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tlabaj tlabaj merged commit f36b6fa into patternfly:v5 Feb 27, 2023
@dlabrecq dlabrecq deleted the v5-8591-tooltip-example branch March 24, 2023 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Charts - fix broken tooltip examples for v5

5 participants