- { ! isWaitingForMeasurement && (
-
- { gridVisibility !== 'none' && (
-
- ) }
-
-
-
-
- { /* Uncertainty band - rendered first (behind lines), no pointer events */ }
- { bandData.length > 0 && (
-
- ) }
-
- { /* Historical line - solid, visual only */ }
- { historical.length > 0 && (
-
+ { legendPosition === 'top' && legendElement }
+
+
+ { ! isWaitingForMeasurement && (
+
+ { gridVisibility !== 'none' && (
+
+ ) }
+
+
+
+
+ { /* Uncertainty band - rendered first (behind lines), no pointer events */ }
+ { bandData.length > 0 && (
+
+ ) }
+
+ { /* Historical line - solid, visual only */ }
+ { historical.length > 0 && (
+
+ ) }
+
+ { /* Forecast line - dashed, visual only */ }
+ { forecast.length > 0 && (
+
+ ) }
+
+ { /* Invisible line for tooltip - handles all pointer events */ }
+
- ) }
- { /* Forecast line - dashed, visual only */ }
- { forecast.length > 0 && (
-
- ) }
+ { /* Vertical divider at forecast start */ }
+ { showDivider && (
+
+ ) }
+
+ { /* Render SVG children from TimeSeriesForecastChart.SVG */ }
+ { svgChildren }
+
+ { /* Tooltip */ }
+ { withTooltips && (
+
+ ) }
+
+ ) }
+
- { /* Invisible line for tooltip - handles all pointer events */ }
-
-
- { /* Vertical divider at forecast start */ }
- { showDivider && (
-
- ) }
+ { legendPosition === 'bottom' && legendElement }
- { /* Tooltip */ }
- { withTooltips && (
-
- ) }
-
- ) }
-
+ { /* Render HTML children from TimeSeriesForecastChart.HTML */ }
+ { htmlChildren }
- { legendPosition === 'bottom' && legendElement }
-