Remove dimensions from tooltip def and generate tooltip html content dynamically