Skip to content

Feature/reservoir history chart#202

Open
josemi1189 wants to merge 11 commits intomainfrom
feature/reservoir-history-chart
Open

Feature/reservoir history chart#202
josemi1189 wants to merge 11 commits intomainfrom
feature/reservoir-history-chart

Conversation

@josemi1189
Copy link
Copy Markdown
Collaborator

Closed #199

@josemi1189 josemi1189 requested a review from manudous April 9, 2026 10:33
Comment thread front/src/pods/embalse/components/chart/history-chart.tsx Outdated
Comment thread front/src/pods/embalse/components/chart/chart-legend.tsx Outdated
Comment thread front/src/pods/embalse/components/reservoir-card-gauge.tsx Outdated
Comment thread front/src/pods/embalse/embalse.component.tsx Outdated
Comment thread front/src/pods/embalse/embalse.mapper.spec.ts
Comment thread packages/db/src/console-runners/historical-seed/historical.mapped.ts Outdated
Comment thread packages/db/src/console-runners/historical-seed/historical.mapped.ts Outdated
meses: monthly.map((month) => ({
mes: month.mes,
año: month.año,
promedio_agua_actual: month.promedio_agua_actual,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create another maper function with this code

generatedAt: metadata.generatedAt,
periodoInicio: metadata.periodoInicio,
periodoFin: metadata.periodoFin,
},
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if metadata its null/undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Historical chart of reservoirs over the last 10 years

3 participants