BZ-12885 precalculate pie chart formatters on client side