File tree Expand file tree Collapse file tree 5 files changed +12
-10
lines changed
docs/development/plugins/data
x-pack/plugins/lens/public/xy_visualization Expand file tree Collapse file tree 5 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 1010fieldFormats : {
1111 FieldFormat : typeof FieldFormat ;
1212 FieldFormatsRegistry : typeof FieldFormatsRegistry ;
13- serialize : (agg : import (" ./search" ).AggConfig ) => import (" ../../expressions/common " ).SerializedFieldFormat < object > ;
13+ serialize : (agg : import (" ./search" ).AggConfig ) => import (" ../../expressions" ).SerializedFieldFormat < object > ;
1414 DEFAULT_CONVERTER_COLOR : {
1515 range : string ;
1616 regex : string ;
Original file line number Diff line number Diff line change 1010fieldFormats : {
1111 FieldFormatsRegistry : typeof FieldFormatsRegistry ;
1212 FieldFormat : typeof FieldFormat ;
13- serializeFieldFormat : (agg : import (" ../public/search" ).AggConfig ) => import (" ../../expressions/common " ).SerializedFieldFormat < object > ;
13+ serializeFieldFormat : (agg : import (" ../public/search" ).AggConfig ) => import (" ../../expressions" ).SerializedFieldFormat < object > ;
1414 BoolFormat : typeof BoolFormat ;
1515 BytesFormat : typeof BytesFormat ;
1616 ColorFormat : typeof ColorFormat ;
Original file line number Diff line number Diff line change @@ -485,7 +485,7 @@ export type FieldFormatId = FIELD_FORMAT_IDS | string;
485485export const fieldFormats: {
486486 FieldFormat: typeof FieldFormat ;
487487 FieldFormatsRegistry: typeof FieldFormatsRegistry ;
488- serialize: (agg : import (" ./search" ).AggConfig ) => import (" ../../expressions/common " ).SerializedFieldFormat <object >;
488+ serialize: (agg : import (" ./search" ).AggConfig ) => import (" ../../expressions" ).SerializedFieldFormat <object >;
489489 DEFAULT_CONVERTER_COLOR: {
490490 range: string ;
491491 regex: string ;
Original file line number Diff line number Diff line change @@ -283,7 +283,7 @@ export interface FieldFormatConfig {
283283export const fieldFormats: {
284284 FieldFormatsRegistry: typeof FieldFormatsRegistry ;
285285 FieldFormat: typeof FieldFormat ;
286- serializeFieldFormat: (agg : import (" ../public/search" ).AggConfig ) => import (" ../../expressions/common " ).SerializedFieldFormat <object >;
286+ serializeFieldFormat: (agg : import (" ../public/search" ).AggConfig ) => import (" ../../expressions" ).SerializedFieldFormat <object >;
287287 BoolFormat: typeof BoolFormat ;
288288 BytesFormat: typeof BytesFormat ;
289289 ColorFormat: typeof ColorFormat ;
Original file line number Diff line number Diff line change @@ -278,12 +278,14 @@ export function XYChart({
278278 const timeFieldName = xDomain && xAxisFieldName ;
279279
280280 const context : ValueClickTriggerContext = {
281- data : points . map ( point => ( {
282- row : point . row ,
283- column : point . column ,
284- value : point . value ,
285- table,
286- } ) ) ,
281+ data : {
282+ data : points . map ( point => ( {
283+ row : point . row ,
284+ column : point . column ,
285+ value : point . value ,
286+ table,
287+ } ) ) ,
288+ } ,
287289 timeFieldName,
288290 } ;
289291
You can’t perform that action at this time.
0 commit comments