Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Use endTime of detectionInterval as plotTime on Dashboard live chart (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
yizheliu-amazon committed Jun 1, 2020
1 parent a4e8b49 commit 837ace1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/pages/Dashboard/utils/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export const visualizeAnomalyResultForXYChart = (
return {
...anomalyResult,
[AD_DOC_FIELDS.PLOT_TIME]: getFloorPlotTime(
get(anomalyResult, AD_DOC_FIELDS.DATA_START_TIME, 0)
get(anomalyResult, AD_DOC_FIELDS.DATA_END_TIME, 0)
),
[AD_DOC_FIELDS.ANOMALY_GRADE]:
actualAnomalyGrade < SHOW_DECIMAL_NUMBER_THRESHOLD
Expand Down

0 comments on commit 837ace1

Please sign in to comment.