-
Notifications
You must be signed in to change notification settings - Fork 892
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fixes time series for new chart types * moves translate to source string Signed-off-by: Ashwin Pc <ashwinpc@amazon.com> (cherry picked from commit 93f6872) Co-authored-by: Ashwin P Chandran <ashwinpc@amazon.com> Co-authored-by: Kawika Avilla <kavilla414@gmail.com>
- Loading branch information
1 parent
c60b5e4
commit a3b9773
Showing
7 changed files
with
46 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/plugins/wizard/public/visualizations/vislib/common/get_pipeline_params.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
import { BuildPipelineParams } from '../../../../../visualizations/public'; | ||
import { getTimeFilter } from '../../../plugin_services'; | ||
|
||
export const getPipelineParams = (): BuildPipelineParams => { | ||
const timeFilter = getTimeFilter(); | ||
return { | ||
timefilter: timeFilter, | ||
timeRange: timeFilter.getTime(), | ||
}; | ||
}; |
9 changes: 9 additions & 0 deletions
9
src/plugins/wizard/public/visualizations/vislib/common/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/* | ||
* Copyright OpenSearch Contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
export * from './basic_vis_options'; | ||
export * from './get_pipeline_params'; | ||
export * from './get_value_axes'; | ||
export * from './types'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters