Skip to content

Commit

Permalink
remove annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
smith committed Oct 29, 2020
1 parent 4b36f3e commit 329c235
Showing 1 changed file with 14 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,23 +113,20 @@ export function LineChart({
showGridLines
/>

<Annotations />

{!isEmpty &&
timeseries.map((serie) => {
return (
<LineSeries
key={serie.title}
id={serie.title}
xScaleType={ScaleType.Time}
yScaleType={ScaleType.Linear}
xAccessor="x"
yAccessors={['y']}
data={serie.data}
color={serie.color}
/>
);
})}
{timeseries.map((serie) => {
return (
<LineSeries
key={serie.title}
id={serie.title}
xScaleType={ScaleType.Time}
yScaleType={ScaleType.Linear}
xAccessor="x"
yAccessors={['y']}
data={isEmpty ? [] : serie.data}
color={serie.color}
/>
);
})}
</Chart>
</ChartContainer>
</div>
Expand Down

0 comments on commit 329c235

Please sign in to comment.