I'm using a Biaxial Line Chart, and I'm trying to figure out how to format the content of the Tooltip using the formatter function.
What I want is for my output to read:
2019-01-13
Price: $17.99
Sales Rank: 326,518
I'm currently using the below code which formats the price into a price, but it does not change the sales rank value. I'm also not sure on how to change the labels?
<Tooltip formatter={(value, name) => (name === "price") ? `$${value/100}` : value.toLocaleString()}/>
