Add pointer-events: all to data-dot-colored so that colored points in map will be selectable.
[#75815320] By overriding init and calling invalidate therein we get cases installed in the legend attribute so that a correct determination of type (numeric or categorical) can be done.