+ {errorMessage ? null : chartData.length > 0 ? (
+ <>
+
+ {(width, height) => (
+
+
+
+ {
+ if (granularity === 'Daily') {
+ return d.format(
+ monthUtils.parseDate(value),
+ 'MMM d',
+ );
+ }
+ return value;
+ }}
+ />
+
+ getCustomTick(
+ format(value, 'financial-no-decimals'),
+ privacyMode,
+ )
+ }
+ tick={{ fill: theme.pageText }}
+ tickLine={{ stroke: theme.pageText }}
+ tickSize={0}
+ />
+ {
+ if (active && payload && payload.length) {
+ return (
+
+
+ {payload[0].payload.date}
+
+
+ {format(
+ payload[0].value as number,
+ 'financial',
+ )}
+
+
+ );
+ }
+ return null;
+ }}
+ />
+ {showsTodayReferenceLine && (
+
+ )}
+
+
+
+ )}
+
+
+ {scheduledOccurrenceCount === 0 ? (
+
+ This range shows posted transactions only; no scheduled
+ occurrences fall in it.
+
+ ) : (
+
+ {{ count: scheduledOccurrenceCount }} scheduled transactions
+ included in this date range
+
+ )}
+ {isUpdatingForecast ? (
+ <>
+ {' '}
+ Updating...
+ >
+ ) : null}
+
+ >
+ ) : (
+
+
+
+ No transactions are included in this report. Adjust your
+ filters, accounts, or date range to see a balance projection.
+
+
+
+ )}
+
+
+ {!errorMessage && (
+