Skip to content

Commit

Permalink
Use AreaSeries chart
Browse files Browse the repository at this point in the history
  • Loading branch information
kdelemme committed Jun 15, 2023
1 parent 1f7b72e commit 456070c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/

import { Axis, Chart, LineSeries, Position, ScaleType, Settings } from '@elastic/charts';
import { AreaSeries, Axis, Chart, Position, ScaleType, Settings } from '@elastic/charts';
import { EuiFlexItem, EuiIcon, EuiLoadingChart, EuiPanel } from '@elastic/eui';
import numeral from '@elastic/numeral';
import { i18n } from '@kbn/i18n';
Expand Down Expand Up @@ -86,7 +86,7 @@ export function DataPreviewChart() {
},
}}
/>
<LineSeries
<AreaSeries
id="SLI"
xScaleType={ScaleType.Time}
yScaleType={ScaleType.Linear}
Expand Down

0 comments on commit 456070c

Please sign in to comment.