Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Lens] Query based annotations #138753

Merged
merged 140 commits into from
Sep 8, 2022
Merged
Show file tree
Hide file tree
Changes from 116 commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
3cb5bea
:alembic: Initial code for query based annotations
dej611 Jun 20, 2022
59b7c68
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Jun 20, 2022
db65f76
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Jul 6, 2022
d1d62dd
:bug: Solved more conflicts
dej611 Jul 6, 2022
53a618b
:alembic: More scaffolding layout
dej611 Jul 6, 2022
776380a
:alembic: Initial indexpatetrn move into frame
dej611 Jul 8, 2022
f1d8049
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Jul 8, 2022
00ad767
:alembic: Make field selection work
dej611 Jul 8, 2022
802a8f4
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Jul 13, 2022
b1d1832
:construction: Fixed almost all dataViews occurrencies, but changeInd…
dej611 Jul 22, 2022
c891391
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Jul 22, 2022
0f6dbe6
:construction: More work on change index pattern
dej611 Jul 27, 2022
25fd964
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Jul 27, 2022
57d814d
Move lens dataViews state into main state
dej611 Jul 27, 2022
751c2a2
:fire: Remove some old cruft from the code
dej611 Jul 27, 2022
c7a9ce8
:bug: Fix dataViews layer change
dej611 Jul 27, 2022
79566af
:bug: Fix datasourceLayers refs
dej611 Jul 27, 2022
4822b36
:fire: Remove more old cruft
dej611 Jul 27, 2022
220aa39
:bug: Fix bug when loading SO
dej611 Jul 28, 2022
759f19a
:bug: Fix initial existence flag
dej611 Jul 28, 2022
7f590da
:label: Fix type issues
dej611 Jul 28, 2022
12b91fc
:label: Fix types and tests
dej611 Jul 28, 2022
2ee6f6d
:label: Fix types issues
dej611 Jul 29, 2022
ce7bddd
:white_check_mark: Fix more tests
dej611 Jul 29, 2022
80647be
:white_check_mark: Fix with new dataViews structure
dej611 Aug 3, 2022
63bf020
:white_check_mark: Fix more test mocks
dej611 Aug 3, 2022
3a7f9fb
:white_check_mark: More tests fixed
dej611 Aug 3, 2022
2fc1f0f
:fire: Removed unused prop
dej611 Aug 4, 2022
e9abe5a
:white_check_mark: Down to single broken test suite
dej611 Aug 4, 2022
ca51c4f
Merge remote-tracking branch 'upstream/main' into feature/dataview-state
dej611 Aug 4, 2022
13a669e
:label: Fix type issue
dej611 Aug 4, 2022
120e52a
Merge branch 'main' into feature/dataview-state
flash1293 Aug 8, 2022
58b873a
:ok_hand: Integrate selector feedback
dej611 Aug 10, 2022
70cab64
:white_check_mark: Fix remaining unit tests
dej611 Aug 10, 2022
2301d19
Merge remote-tracking branch 'upstream/main' into feature/dataview-state
dej611 Aug 10, 2022
e68a013
:label: fix type issues
dej611 Aug 10, 2022
d594e09
:bug: Fix bug when creating dataview in place
dej611 Aug 10, 2022
77cdefa
Merge branch 'feature/dataview-state' into feature/129299
dej611 Aug 10, 2022
e594537
:sparkles: Update with latest dataview state + fix dataviews picker f…
dej611 Aug 10, 2022
d32f9dd
Merge remote-tracking branch 'upstream/main' into feature/dataview-state
dej611 Aug 11, 2022
5a5d3b9
:bug: Fix edit + remove field flow
dej611 Aug 11, 2022
21eb05b
Merge branch 'feature/dataview-state' into feature/129299
dej611 Aug 11, 2022
0ed3fdf
Update x-pack/plugins/lens/public/visualizations/xy/types.ts
dej611 Aug 11, 2022
07e3136
:camera_flash: Fix snapshot
dej611 Aug 11, 2022
d317513
:bug: Fix the dataViews switch bug
dej611 Aug 11, 2022
f41f6b1
Merge branch 'feature/dataview-state' into feature/129299
dej611 Aug 11, 2022
8510724
Merge remote-tracking branch 'upstream/main' into feature/dataview-state
dej611 Aug 12, 2022
1b64dda
:fire: remove old cruft
dej611 Aug 12, 2022
ed409b8
Merge branch 'feature/dataview-state' into feature/129299
dej611 Aug 12, 2022
f6a0f4a
:recycle: Revert removal from dataviews state branch
dej611 Aug 12, 2022
efbf3f0
:recycle: Load all at once
dej611 Aug 12, 2022
958ae77
Merge remote-tracking branch 'upstream/main' into feature/dataview-state
dej611 Aug 12, 2022
2ae744b
Merge branch 'feature/dataview-state' into feature/129299
dej611 Aug 12, 2022
ad68d40
:wrench: working on persistent state + fix new layer bug
dej611 Aug 12, 2022
bcea9c6
:fire: remove unused stuff
dej611 Aug 12, 2022
553d974
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Aug 12, 2022
c84253e
:label: Fix some typings
dej611 Aug 12, 2022
8c55ba1
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Aug 12, 2022
bb3a711
:wrench: Fix expression issue
dej611 Aug 12, 2022
c6a9898
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Aug 24, 2022
3523006
:white_check_mark: Add service unit tests
dej611 Aug 24, 2022
3d9c4f0
:ok_hand: Integrated feedback
dej611 Aug 24, 2022
7e763ad
:sparkles: Add migration code for manual annotations
dej611 Aug 24, 2022
bb86c3a
:label: Fix type issue
dej611 Aug 24, 2022
3da5b19
:white_check_mark: Add some other unit test
dej611 Aug 24, 2022
c8206b8
:label: Fix more type issues
dej611 Aug 24, 2022
e3d4ced
:bug: Fix importing issue
dej611 Aug 25, 2022
e66340b
:recycle: Make range default color dependant on opint one
dej611 Aug 25, 2022
196bf1d
:bug: Fix duplicate fields selection in tooltip section
dej611 Aug 25, 2022
7ffbc5c
:white_check_mark: Add more unit tests
dej611 Aug 25, 2022
6f1332c
:white_check_mark: Fix broken test
dej611 Aug 25, 2022
7037e0e
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Aug 25, 2022
85719d3
:label: Mute ts error for now
dej611 Aug 26, 2022
23da908
:white_check_mark: Fix tests
dej611 Aug 26, 2022
bfbdeae
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Aug 26, 2022
239e056
:fire: Reduce plugin weight
dej611 Aug 26, 2022
ecd3416
:bug: prevent layout shift on panel open
dej611 Aug 26, 2022
ba084c2
:bug: Fix extract + inject visualization references
dej611 Aug 26, 2022
6f91942
Merge branch 'main' into feature/129299
kibanamachine Aug 26, 2022
9e0ec88
:label: fix type issues
dej611 Aug 28, 2022
1d4f575
Merge branch 'feature/129299' of github.com:dej611/kibana into featur…
dej611 Aug 28, 2022
a7161f9
:sparkles: Add dataview reference migration for annotations
dej611 Aug 31, 2022
49d5173
:wrench: Add migration to embedadble
dej611 Aug 31, 2022
01e8881
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Aug 31, 2022
a05b3f3
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Aug 31, 2022
a5e4a1e
:label: Fix type export
dej611 Aug 31, 2022
af79510
:bug: Fix more conflicts with main
dej611 Aug 31, 2022
79f3cfe
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Aug 31, 2022
383b1af
:white_check_mark: Fix tests
dej611 Sep 1, 2022
c2aff66
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Sep 1, 2022
4750aa2
:label: Make textField optional
dej611 Sep 1, 2022
b75c79c
:recycle: Refactor query input to be a shared component
dej611 Sep 1, 2022
d5c8fdf
:bug: Fix missing import
dej611 Sep 1, 2022
ee2ab7d
:bug: fix more import issues
dej611 Sep 1, 2022
1ea7fee
:fire: remove duplicate code
dej611 Sep 1, 2022
56d6664
:bug: Fix dataView switch bug
dej611 Sep 1, 2022
e970b79
:label: Fix type issue
dej611 Sep 1, 2022
791ef82
Merge branch 'main' into feature/129299
flash1293 Sep 5, 2022
8e9c9c3
Merge branch 'main' into feature/129299
mbondyra Sep 5, 2022
b35753c
annotations with fetching_event_annotations
mbondyra Sep 5, 2022
2ab5174
Merge branch 'feature/129299' of github.com:dej611/kibana into featur…
mbondyra Sep 5, 2022
50a93a2
portal for kql input fix
mbondyra Sep 5, 2022
871bd4e
timeField goes for default if not filled
mbondyra Sep 5, 2022
621eda7
limit changes
mbondyra Sep 5, 2022
9815161
handle ad-hoc data view references correctly
flash1293 Sep 5, 2022
bcd127a
fix types
mbondyra Sep 5, 2022
f87f33f
adjust tests to datatable format (remove isHidden tests as it's filte…
mbondyra Sep 5, 2022
25b3098
Merge branch 'feature/129299' of github.com:dej611/kibana into featur…
mbondyra Sep 5, 2022
fc796af
error messages handling
mbondyra Sep 5, 2022
7459129
small refactors
mbondyra Sep 6, 2022
84d8186
Merge branch 'feature/129299' of github.com:dej611/kibana into featur…
mbondyra Sep 6, 2022
2f63f82
fix loading on dashboard
flash1293 Sep 6, 2022
bf634d9
empty is invalid (?) tbd
mbondyra Sep 6, 2022
9ab8e52
new tooltip
mbondyra Sep 6, 2022
862500a
Merge branch 'feature/129299' of github.com:dej611/kibana into featur…
mbondyra Sep 6, 2022
278541b
emptyDatatable
mbondyra Sep 6, 2022
eed9eb2
:recycle: Flip field + query inputs
dej611 Sep 7, 2022
bfb892d
:label: Fix type issue
dej611 Sep 7, 2022
ab66ed4
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Sep 7, 2022
3d71bd5
:sparkles: Add field validation for text and tooltip fields
dej611 Sep 7, 2022
56d17b7
tooltip for single annotation
mbondyra Sep 7, 2022
705edbb
fix tests
mbondyra Sep 7, 2022
c383885
fix for non--timefilter dataview
mbondyra Sep 7, 2022
1349f05
fix annotations test - the cause was that we now don't display label …
mbondyra Sep 7, 2022
7fbbb11
use eui elements
mbondyra Sep 7, 2022
0fe367d
newline problem solved
mbondyra Sep 7, 2022
3647032
:white_check_mark: Add more error tests
dej611 Sep 7, 2022
a7f8ef5
Merge branch 'feature/129299' of github.com:dej611/kibana into featur…
dej611 Sep 7, 2022
08deb3f
:ok_hand: Rename migration state version type
dej611 Sep 7, 2022
415f893
fix types for expression chart
mbondyra Sep 7, 2022
f3f2be6
Merge branch 'feature/129299' of github.com:dej611/kibana into featur…
mbondyra Sep 7, 2022
cc03d2e
:bug: Fix i18n id
dej611 Sep 7, 2022
7ceea02
Merge branch 'feature/129299' of github.com:dej611/kibana into featur…
dej611 Sep 7, 2022
f3f6bdb
:label: Fix type issue
dej611 Sep 7, 2022
cdf64fe
fix hidden all annotations
mbondyra Sep 7, 2022
64535f2
Merge branch 'feature/129299' of github.com:dej611/kibana into featur…
mbondyra Sep 7, 2022
77b5598
:white_check_mark: Fix tests after ishidden removal
dej611 Sep 7, 2022
a4c9edc
Merge remote-tracking branch 'upstream/main' into feature/129299
flash1293 Sep 8, 2022
1af226a
:bug: Revert references migration to an in app solution
dej611 Sep 8, 2022
b61cb1d
Merge remote-tracking branch 'upstream/main' into feature/129299
dej611 Sep 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/kbn-optimizer/limits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pageLoadAssetSize:
eventAnnotation: 19334
screenshotting: 22870
synthetics: 40958
expressionXY: 36000
expressionXY: 38000
kibanaUsageCollection: 16463
kubernetesSecurity: 77234
threatIntelligence: 29195
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ export const createArgsWithLayers = (
},
],
layers: Array.isArray(layers) ? layers : [layers],
annotations: {
layers: [],
datatable: {
type: 'datatable',
columns: [],
rows: [],
},
},
});

export function sampleArgs() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/

import type { Datatable, ExpressionFunctionDefinition } from '@kbn/expressions-plugin/common';
import { ExtendedAnnotationLayerConfigResult } from '../types';
import { strings } from '../i18n';
import { EXTENDED_ANNOTATION_LAYER } from '../constants';

export interface EventAnnotationResultArgs {
layers?: ExtendedAnnotationLayerConfigResult[];
datatable: Datatable;
}

export interface EventAnnotationResultResult {
type: 'event_annotations_result';
layers: ExtendedAnnotationLayerConfigResult[];
datatable: Datatable;
}

export function eventAnnotationsResult(): ExpressionFunctionDefinition<
'event_annotations_result',
null,
EventAnnotationResultArgs,
EventAnnotationResultResult
> {
return {
name: 'event_annotations_result',
aliases: [],
type: 'event_annotations_result',
inputTypes: ['null'],
help: strings.getAnnotationLayerFnHelp(),
args: {
layers: {
types: [EXTENDED_ANNOTATION_LAYER],
multi: true,
help: strings.getAnnotationLayerFnHelp(),
},
datatable: {
types: ['datatable'],
help: strings.getAnnotationLayerFnHelp(),
},
},
fn: (input, args) => {
return {
...args,
type: 'event_annotations_result',
layers: args.layers || [],
datatable: args.datatable || {},
};
},
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
* Side Public License, v 1.
*/

import type { Datatable, ExpressionFunctionDefinition } from '@kbn/expressions-plugin/common';
import type { ExpressionFunctionDefinition } from '@kbn/expressions-plugin/common';
import { LayerTypes, EXTENDED_ANNOTATION_LAYER } from '../constants';
import { ExtendedAnnotationLayerConfigResult, ExtendedAnnotationLayerArgs } from '../types';
import { strings } from '../i18n';

export function extendedAnnotationLayerFunction(): ExpressionFunctionDefinition<
typeof EXTENDED_ANNOTATION_LAYER,
Datatable,
null,
ExtendedAnnotationLayerArgs,
ExtendedAnnotationLayerConfigResult
> {
return {
name: EXTENDED_ANNOTATION_LAYER,
aliases: [],
type: EXTENDED_ANNOTATION_LAYER,
inputTypes: ['datatable'],
inputTypes: ['null'],
help: strings.getAnnotationLayerFnHelp(),
args: {
simpleView: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
EXTENDED_DATA_LAYER,
REFERENCE_LINE_LAYER,
LAYERED_XY_VIS,
EXTENDED_ANNOTATION_LAYER,
REFERENCE_LINE,
} from '../constants';
import { commonXYArgs } from './common_xy_args';
Expand All @@ -26,12 +25,18 @@ export const layeredXyVisFunction: LayeredXyVisFn = {
args: {
...commonXYArgs,
layers: {
types: [EXTENDED_DATA_LAYER, REFERENCE_LINE_LAYER, EXTENDED_ANNOTATION_LAYER, REFERENCE_LINE],
types: [EXTENDED_DATA_LAYER, REFERENCE_LINE_LAYER, REFERENCE_LINE],
help: i18n.translate('expressionXY.layeredXyVis.layers.help', {
defaultMessage: 'Layers of visual series',
}),
multi: true,
},
annotations: {
types: ['event_annotations_result'],
help: i18n.translate('expressionXY.layeredXyVis.annotations.help', {
defaultMessage: 'Annotations',
}),
},
splitColumnAccessor: {
types: ['vis_dimension', 'string'],
help: strings.getSplitColumnAccessorHelp(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('xyVis', () => {
const { layerId, layerType, table, type, ...restLayerArgs } = sampleLayer;
const result = await xyVisFunction.fn(
data,
{ ...rest, ...restLayerArgs, referenceLines: [], annotationLayers: [] },
{ ...rest, ...restLayerArgs, referenceLines: [] },
createMockExecutionContext()
);

Expand Down Expand Up @@ -53,7 +53,6 @@ describe('xyVis', () => {
...{ ...sampleLayer, markSizeAccessor: 'b' },
markSizeRatio: 0,
referenceLines: [],
annotationLayers: [],
},
createMockExecutionContext()
)
Expand All @@ -67,7 +66,6 @@ describe('xyVis', () => {
...{ ...sampleLayer, markSizeAccessor: 'b' },
markSizeRatio: 101,
referenceLines: [],
annotationLayers: [],
},
createMockExecutionContext()
)
Expand All @@ -86,7 +84,6 @@ describe('xyVis', () => {
...restLayerArgs,
minTimeBarInterval: '1q',
referenceLines: [],
annotationLayers: [],
},
createMockExecutionContext()
)
Expand All @@ -105,7 +102,6 @@ describe('xyVis', () => {
...restLayerArgs,
minTimeBarInterval: '1h',
referenceLines: [],
annotationLayers: [],
},
createMockExecutionContext()
)
Expand All @@ -124,7 +120,6 @@ describe('xyVis', () => {
...restLayerArgs,
addTimeMarker: true,
referenceLines: [],
annotationLayers: [],
},
createMockExecutionContext()
)
Expand All @@ -144,7 +139,7 @@ describe('xyVis', () => {
...rest,
...restLayerArgs,
referenceLines: [],
annotationLayers: [],

splitRowAccessor,
},
createMockExecutionContext()
Expand All @@ -165,7 +160,7 @@ describe('xyVis', () => {
...rest,
...restLayerArgs,
referenceLines: [],
annotationLayers: [],

splitColumnAccessor,
},
createMockExecutionContext()
Expand All @@ -185,7 +180,7 @@ describe('xyVis', () => {
...rest,
...restLayerArgs,
referenceLines: [],
annotationLayers: [],

markSizeRatio: 5,
},
createMockExecutionContext()
Expand All @@ -207,7 +202,7 @@ describe('xyVis', () => {
...rest,
...restLayerArgs,
referenceLines: [],
annotationLayers: [],

seriesType: 'bar',
showLines: true,
},
Expand All @@ -230,7 +225,7 @@ describe('xyVis', () => {
...rest,
...restLayerArgs,
referenceLines: [],
annotationLayers: [],

isHistogram: true,
xScaleType: 'time',
xAxisConfig: {
Expand All @@ -257,7 +252,7 @@ describe('xyVis', () => {
...rest,
...restLayerArgs,
referenceLines: [],
annotationLayers: [],

xAxisConfig: {
type: 'xAxisConfig',
extent: {
Expand Down Expand Up @@ -287,7 +282,7 @@ describe('xyVis', () => {
...rest,
...restLayerArgs,
referenceLines: [],
annotationLayers: [],

xAxisConfig: {
type: 'xAxisConfig',
extent: { type: 'axisExtentConfig', mode: 'dataBounds' },
Expand All @@ -308,7 +303,7 @@ describe('xyVis', () => {
...rest,
...restLayerArgs,
referenceLines: [],
annotationLayers: [],

isHistogram: true,
xAxisConfig: {
type: 'xAxisConfig',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

import { XyVisFn } from '../types';
import { XY_VIS, REFERENCE_LINE, ANNOTATION_LAYER } from '../constants';
import { XY_VIS, REFERENCE_LINE } from '../constants';
import { strings } from '../i18n';
import { commonXYArgs } from './common_xy_args';
import { commonDataLayerArgs } from './common_data_layer_args';
Expand Down Expand Up @@ -39,11 +39,6 @@ export const xyVisFunction: XyVisFn = {
help: strings.getReferenceLinesHelp(),
multi: true,
},
annotationLayers: {
types: [ANNOTATION_LAYER],
help: strings.getAnnotationLayerHelp(),
multi: true,
},
splitColumnAccessor: {
types: ['vis_dimension', 'string'],
help: strings.getSplitColumnAccessorHelp(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export const xyVisFn: XyVisFn['fn'] = async (data, args, handlers) => {

const {
referenceLines = [],
annotationLayers = [],
// data_layer args
seriesType,
accessors,
Expand Down Expand Up @@ -101,7 +100,6 @@ export const xyVisFn: XyVisFn['fn'] = async (data, args, handlers) => {
const layers: XYLayerConfig[] = [
...appendLayerIds(dataLayers, 'dataLayers'),
...appendLayerIds(referenceLines, 'referenceLines'),
...appendLayerIds(annotationLayers, 'annotationLayers'),
];

logDatatable(data, layers, handlers, args.splitColumnAccessor, args.splitRowAccessor);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export type {
DataLayerConfig,
FittingFunction,
AxisExtentConfig,
CollectiveConfig,
MergedAnnotation,
LegendConfigResult,
AxesSettingsConfig,
XAxisConfigResult,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ export interface XYArgs extends DataLayerArgs {
emphasizeFitting?: boolean;
valueLabels: ValueLabelMode;
referenceLines: ReferenceLineConfigResult[];
annotationLayers: AnnotationLayerConfigResult[];
fittingFunction?: FittingFunction;
fillOpacity?: number;
hideEndzones?: boolean;
Expand All @@ -239,6 +238,10 @@ export interface LayeredXYArgs {
emphasizeFitting?: boolean;
valueLabels: ValueLabelMode;
layers?: XYExtendedLayerConfigResult[];
annotations?: {
layers: AnnotationLayerConfigResult[];
datatable: Datatable;
};
fittingFunction?: FittingFunction;
fillOpacity?: number;
hideEndzones?: boolean;
Expand Down Expand Up @@ -279,6 +282,10 @@ export interface XYProps {
orderBucketsBySum?: boolean;
showTooltip: boolean;
singleTable?: boolean;
annotations?: {
layers: AnnotationLayerConfigResult[];
datatable: Datatable;
};
}

export interface AnnotationLayerArgs {
Expand Down Expand Up @@ -326,7 +333,6 @@ export type XYExtendedLayerConfig =
export type XYExtendedLayerConfigResult =
| ExtendedDataLayerConfigResult
| ReferenceLineLayerConfigResult
| ExtendedAnnotationLayerConfigResult
| ReferenceLineConfigResult;

export interface ExtendedReferenceLineDecorationConfig extends ReferenceLineArgs {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ export interface XYRender {
value: XYChartProps;
}

export interface CollectiveConfig extends Omit<ManualPointEventAnnotationArgs, 'icon'> {
export interface MergedAnnotation extends Omit<ManualPointEventAnnotationArgs, 'icon'> {
timebucket: number;
position: 'bottom';
icon?: AvailableAnnotationIcon | string;
customTooltipDetails?: AnnotationTooltipFormatter | undefined;
customTooltipDetails: AnnotationTooltipFormatter;
isGrouped: boolean;
}

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

Loading