Skip to content

Commit

Permalink
Merge commit '27d1fa1797b21a975173e89e9d65a2d029b64304' into chart_ex…
Browse files Browse the repository at this point in the history
…pressions-xy-extended_layers

# Conflicts:
#	src/plugins/chart_expressions/expression_xy/common/expression_functions/annotation_layer.ts
#	src/plugins/chart_expressions/expression_xy/public/components/annotations.tsx
#	src/plugins/chart_expressions/expression_xy/public/components/xy_chart.test.tsx
#	src/plugins/chart_expressions/expression_xy/public/components/xy_chart.tsx
#	src/plugins/event_annotation/common/index.ts
#	src/plugins/event_annotation/common/manual_event_annotation/index.ts
#	src/plugins/event_annotation/common/types.ts
#	x-pack/plugins/lens/public/xy_visualization/xy_config_panel/annotations_config_panel/index.tsx
#	x-pack/plugins/lens/public/xy_visualization/xy_config_panel/color_picker.tsx
#	x-pack/plugins/lens/public/xy_visualization/xy_config_panel/reference_line_config_panel/reference_line_panel.tsx
#	x-pack/plugins/lens/public/xy_visualization/xy_config_panel/shared/icon_select.tsx
#	x-pack/plugins/lens/public/xy_visualization/xy_config_panel/shared/marker_decoration_settings.tsx
  • Loading branch information
mbondyra committed May 3, 2022
2 parents 59ee004 + 27d1fa1 commit b516bb3
Show file tree
Hide file tree
Showing 122 changed files with 2,510 additions and 1,217 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@
"handlebars": "4.7.7",
"he": "^1.2.0",
"history": "^4.9.0",
"history-extra": "^5.0.1",
"hjson": "3.2.1",
"http-proxy-agent": "^2.1.0",
"https-proxy-agent": "^5.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function annotationLayerFunction(): ExpressionFunctionDefinition<
help: strings.getAnnotationLayerHideHelp(),
},
annotations: {
types: ['manual_event_annotation'],
types: ['manual_point_event_annotation', 'manual_range_event_annotation'],
help: strings.getAnnotationLayerAnnotationsHelp(),
multi: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function extendedAnnotationLayerFunction(): ExpressionFunctionDefinition<
help: strings.getAnnotationLayerHideHelp(),
},
annotations: {
types: ['manual_event_annotation'],
types: ['manual_point_event_annotation', 'manual_range_event_annotation'],
help: strings.getAnnotationLayerAnnotationsHelp(),
multi: true,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export type {
AxesSettingsConfig,
CommonXYLayerConfig,
AnnotationLayerArgs,
XYLayerConfigResult,
ExtendedYConfigResult,
GridlinesConfigResult,
DataLayerConfigResult,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,6 @@ export type XYExtendedLayerConfig =
| ExtendedReferenceLineLayerConfig
| ExtendedAnnotationLayerConfig;

export type XYLayerConfigResult =
| DataLayerConfigResult
| ReferenceLineLayerConfigResult
| AnnotationLayerConfigResult;
export type XYExtendedLayerConfigResult =
| ExtendedDataLayerConfigResult
| ExtendedReferenceLineLayerConfigResult
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
*/

import { AnnotationTooltipFormatter } from '@elastic/charts';
import { AvailableAnnotationIcon, EventAnnotationArgs } from '@kbn/event-annotation-plugin/common';
import {
AvailableAnnotationIcon,
ManualPointEventAnnotationArgs,
} from '@kbn/event-annotation-plugin/common';
import { XY_VIS_RENDERER } from '../constants';
import { XYProps } from './expression_functions';

Expand All @@ -21,7 +24,7 @@ export interface XYRender {
value: XYChartProps;
}

export interface CollectiveConfig extends Omit<EventAnnotationArgs, 'icon'> {
export interface CollectiveConfig extends Omit<ManualPointEventAnnotationArgs, 'icon'> {
roundedTimestamp: number;
axisMode: 'bottom';
icon?: AvailableAnnotationIcon | string;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@
transform: rotate(45deg);
transform-origin: center;
}

.xyAnnotationTooltipDetail {
padding: $euiSizeXS ($euiSizeXS * 2);
}
Loading

0 comments on commit b516bb3

Please sign in to comment.