added server-side state of diagram series visibility