We're using VerticalAxis and HorizontalAxis on our plot and have specified the .LabelProvider.SetCustomFormatter() to allow the tick formatting to be localized (I.e., use the correct '.' or ',' character as the decimal "point"). The
formatter we use is itself aware of the culture issue:
private static string TickFormatter(LabelTickInfo<double> info)
Setting this as the Custom Formatter:
works except that on a change of language/culture, there's no way to force it to refresh the tick labels. We cannot force the axes to redraw the ticks unless we change the formatter delegate passed to SetCustomFormatter(), by using a lambda that
creates a new delegate whenever it is passed:
axis.LabelProvider.SetCustomFormatter(info => TickFormatter(info));
This is inelegant (and inefficient) to create the new delegate just so the side effect can be forced. Having a Refresh() on the LabelProvider would simplify this.