Doesn't Charts just have an array of 13 colours rather than random colour generation? The array approach could work for Geomap as well and would be much better performing (can avoid function calls and calculations) and would ensure a big enough difference between colours (which isn't possible for random colours). Could also create a global array of colours that could be used by both plugins. Thoughts?