Skip to content

Commit

Permalink
chore: Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bprusinowski committed Oct 4, 2023
1 parent e43e620 commit 5c2a165
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/charts/combo/combo-line-column.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ const Lines = () => {
: yOrientationScales.right;
const line = d3
.line<Observation>()
// FIXME: add missing observations basing on the time interval, so we can
// properly indicate the missing data.
.defined((d) => yLine.getY(d) !== null)
.x((d) => (xScale(getX(d)) as number) + xScale.bandwidth() * 0.5)
.y((d) => yScale(yLine.getY(d) as number));
Expand Down
1 change: 1 addition & 0 deletions app/charts/combo/combo-state.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
// TODO: extract shared state!
export {};

0 comments on commit 5c2a165

Please sign in to comment.