Fixes/reference values render own yaxis

fixes a bug where references values were drawn on their own y-axis although axis grouping enabled. Actual fix just adds an `undefined` guard within if/else construct (hidden `false`)