expand formatting function to xFormats adding getTooltipValueFormat remove old chart examples remove magic numbers and use variables refactor getTooltipRowValue update package-lock allow function formatters and use @wordpress/elements