| 8754 | }); |
| 8755 | }; |
| 8756 | function setCurrentAxis(options, stage, groupType) { |
| 8757 | let axes; |
| 8758 | let role; |
| 8759 | switch(groupType){ |
| 8760 | case (0, _interfaces.GroupType).xAxis: |
| 8761 | axes = stage.axes.x; |
| 8762 | role = "x"; |
| 8763 | break; |
| 8764 | case (0, _interfaces.GroupType).yAxis: |
| 8765 | axes = stage.axes.y; |
| 8766 | role = "y"; |
| 8767 | break; |
| 8768 | case (0, _interfaces.GroupType).zAxis: |
| 8769 | axes = stage.axes.z; |
| 8770 | role = "z"; |
| 8771 | break; |
| 8772 | default: |
| 8773 | return; |
| 8774 | } |
| 8775 | options.currAxis = { |
| 8776 | domain: null, |
| 8777 | tickText: [], |
| 8778 | ticks: [], |
| 8779 | role |
| 8780 | }; |
| 8781 | axes.push(options.currAxis); |
| 8782 | } |
| 8783 | const markStagers = { |
| 8784 | group, |
| 8785 | legend: (0, _legendDefault.default), |