updated dataAxis and legend to also make use of the instance based groups.visiblilty option