The failure for tooltips of more than one line to render in Safari.
the scoping of the x axis to the data takes into account of the bone age if provided
Code changes
CentileChart.tsx and tooltips.ts: tooltips have been refactored to return an array of strings which in turn have \n added. The number of strings in the array is used to override the flyoutHeight prop in the VictoryTooltip to set the tooltip height dynamically. This works now both in chrome and safari.
getDomainsAndData sets lowest x and highest x in the domains to the bone age if it is the highest or lowest value. This fixes #102
Documentation changes (done or required as a result of this PR)
Please describe any changes to documentation here.
Related Issues
List any issues related to this PR here.
Mentions
@mentions of the person or team responsible for reviewing proposed changes.
Overview
This PR fixes a couple of items
Code changes
CentileChart.tsx
andtooltips.ts
: tooltips have been refactored to return an array of strings which in turn have\n
added. The number of strings in the array is used to override theflyoutHeight
prop in theVictoryTooltip
to set the tooltip height dynamically. This works now both in chrome and safari.getDomainsAndData
sets lowest x and highest x in the domains to the bone age if it is the highest or lowest value. This fixes #102Documentation changes (done or required as a result of this PR)
Please describe any changes to documentation here.
Related Issues
List any issues related to this PR here.
Mentions
@mentions of the person or team responsible for reviewing proposed changes.