with parameters and calculated fields to let user choose the variables to display. However, I'd like to know if there is a way to change the labels in the same time. For example, instead of having Placeholder 1 and 2 as the labels of the x and y axis, it'd be way better to have the actual name of the variable, e.g. discount or profit.

The calculated field would look like:

WHEN "discount" then [discount] and xlabel = "discount"

or something equivalent.

In my case, I just want the name of the selected variables to display when the user click on a give country. So for example, if my parameters is "vegetables" and the variable selected is "potato", I want to display that name when I click on the country.