Skip to content

Commit

Permalink
Merge pull request #2 from context-labs/main
Browse files Browse the repository at this point in the history
make time series continuous
  • Loading branch information
RhysSullivan authored Jun 1, 2024
2 parents e9e76bf + d23abed commit 84993a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tremor/src/timeseries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function toTremorTimeseriesData<
}
if (isChartData(val)) {
const num = val.data[index];
if (num) output[val.label] = num;
output[val.label] = num ?? 0;
output["label"] = labels[index]!;
} else {
Object.values(val).forEach((valEntry: ChartData) => {
Expand Down

0 comments on commit 84993a2

Please sign in to comment.