Skip to content

Conversation

HarvestingClouds
Copy link
Contributor

…placement of the chart

This will work with both relative and absolute position for the chart and will apply the tooltips appropriately. I have tested in a normal context and then also using the chart in the second column of two column table i.e. in a different position on the screen. Without this, the default tooltips will appear at the same position no matter where the chart is placed. They will appear misplaced. The fix I have provided allows the tooltips to appear smoothly with the chart, no matter where it is placed on the web page.

…placement of the chart

This will work with both relative and absolute position for the chart and will apply the tooltips appropriately. I have tested in a normal context and then also using the chart in the second column of two column table i.e. in a different position on the screen. Without this, the default tooltips will appear at the same position no matter where the chart is placed. They will appear misplaced. The fix I have provided allows the tooltips to appear smoothly with the chart, no matter where it is placed on the web page.
@HarvestingClouds
Copy link
Contributor Author

HarvestingClouds commented Apr 15, 2016

I am not sure why the checks failed. This should not have occured as this is a minor and non breaking change. I have tested the change multiple times. Please review.

@etimberg
Copy link
Member

Looks good. Will investigate test failure separately

1 similar comment
@etimberg
Copy link
Member

Looks good. Will investigate test failure separately

@etimberg etimberg merged commit fc74f98 into chartjs:v2.0-dev Apr 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants