Hi, > Thanks for looking into it. Seems like a reasonable approach, but one > concern is that adding a loop in measure may affect performance. As it based on label function/format strings and font I'm not sure a cache would help that much ie different DateFields could use different date formats strings or label functions.
I'd rather check there is a performance issue before looking into with any possible optimisation. > FWIW, another approach would be a "typicalDate" property so folks can > offer up the pattern that will reserve enough space for them They would need to pass the widest date not the typical one and that may be hard to know up front and would vary based on the locale. There may also be date formats/font combinations that my method of picking the 28th of each month may pick up the widest but I'd guess they are rare and it's better than either the current method (which is always wrong for anything other than straight digits) or going though all dates in existence. Thanks, Justin
