-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[TSVB][Lens] Navigate to Lens context converting improvement. #139719
Merged
Kuznietsov
merged 153 commits into
elastic:main
from
Kuznietsov:navigate-to-lens-context-converting-imporvement
Sep 15, 2022
+8,106
−4,029
Merged
Changes from 145 commits
Commits
Show all changes
153 commits
Select commit
Hold shift + click to select a range
c698e75
Added NavigateToLens types.
Kuznietsov de2b27b
Removed math/overall* columns to be replaced by Formula.
Kuznietsov f1a628a
Removed Lens specific columns/fields.
Kuznietsov 0733449
Added percentile column convertion.
Kuznietsov 1749b10
Fixed labels.
Kuznietsov 15ab59a
Add percentile_rank converter
VladLasitsa 8f1ca40
Added math formula and timeScale support.
Kuznietsov 6e3cfb9
Added MovingAverage and Derivative support.
Kuznietsov d0e7722
Updated formula and supported metrics.
Kuznietsov e982ac7
Fixed pipeline aggs.
Kuznietsov 471f91a
Another fix.
Kuznietsov 537d33a
One more fix.
Kuznietsov 59db553
CumulativeSum added.
Kuznietsov c19acc7
Fixed formula, timeScale and etc.
Kuznietsov a2d51eb
Removed console.log.
Kuznietsov 78b715d
Other aggs to formula convertion added.
Kuznietsov 0549bdd
Filter ratio added.
Kuznietsov 9d1b9c9
Add XY Configuration
VladLasitsa 7b8786f
Added last_value convertion.
Kuznietsov 8b57f8d
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov 6766d81
Updated ColumnWithMeta types.
Kuznietsov edbeea0
Fixed for loop.
Kuznietsov 5221a01
Added StaticValue convertion.
Kuznietsov ecdf3e2
Added default agg convertion.
Kuznietsov faab810
Add filters column
VladLasitsa 08a0539
Refactored filter part.
Kuznietsov defc3a0
Added meta to all the cols.
Kuznietsov 0da77f1
Fixed problem with columns.
Kuznietsov fcdcb41
Added date_histogram column, fixed layer configuration
VladLasitsa bfd1dff
Added terms support.
Kuznietsov 8f4c8d5
Refactored.
Kuznietsov a21b64e
Refactored for consistancy.
Kuznietsov 6b0f939
Removed `getVisualizationSuggestionFromContext` fn.
Kuznietsov a36fabc
Added references.
Kuznietsov a9d19b7
Fixed percentile and percentile ranks.
Kuznietsov f1b8303
removed unused return statement.
Kuznietsov 00dc472
Refactoring 'getEmptyLayersSuggestionsForVisualizeCharts' method
VladLasitsa b146838
TimeScaleUnit fix.
Kuznietsov 97187d6
Fixed references.
Kuznietsov b2817cc
Fixed types.
Kuznietsov 798998b
Fixed terms column
VladLasitsa b26ca08
Fixed count custom label.
Kuznietsov 28e20f7
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov ac20b5a
Fix multi series
VladLasitsa 235ac24
Merge branch 'navigate-to-lens-context-converting-imporvement' of htt…
VladLasitsa 9bd61fb
Fixed custom labels.
Kuznietsov 7073b79
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov 9d45e79
Fixed 'insertReferences' method
VladLasitsa 0556994
Revert "Fixed custom labels."
Kuznietsov 09973a2
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov 83060ad
Fixed custom labels.
Kuznietsov fac12ff
Fixed filter ratio and derivative metrics
VladLasitsa 6070dec
fix last_value and series agg
VladLasitsa 8e045ea
Added CounterRate formula support.
Kuznietsov f804cab
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov 8cbb4ad
Merge remote-tracking branch 'upstream/main' into navigate-to-lens-co…
VladLasitsa 2c0c001
Fix types
VladLasitsa 3e2d943
Replaced usage of timeseries.
Kuznietsov 0bc07fd
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov 12669a3
Added window everywhere.
Kuznietsov 9e9593c
Add std_deviation and value_count, fix some issues
VladLasitsa 7fae45e
Fix interval for date_histogram and fix getting filter for metrics an…
VladLasitsa afe393d
Fix tests for 'getDatasourceSuggestionsForVisualizeCharts' except tes…
VladLasitsa 421c39b
Refactored code.
Kuznietsov ca82caf
Refactoring 'createNewLayerWithMetricAggregationFromVizEditor'
VladLasitsa 0e847fa
Removed not used code.
Kuznietsov 3f36734
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov 8ddaed9
Removed unused import.
Kuznietsov f49d11a
Fixed types.
Kuznietsov f472b42
Removed tests with type troubles.
Kuznietsov 3ffa2c6
Some code refactoring + formatter.
Kuznietsov 1380bb8
Removed not used comment.
Kuznietsov 51ef491
Added formatter validation.
Kuznietsov 0105536
Added tests for getFormat.
Kuznietsov 26bf0a4
Fix `getFormat` method
VladLasitsa 8576a9b
createColumn test added.
Kuznietsov 309a861
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov dcbf498
Added tests for `excludeMetaFromColumn` and `isColumnWithMeta`.
Kuznietsov ab7ed74
Added tests for counter_rate.
Kuznietsov 3233c51
Added tests for cumulative_sum.
Kuznietsov 3bce624
Updated cumulative_sum tests.
Kuznietsov a7a6e8f
Added date_histogram tests.
Kuznietsov 74ed9d6
Added filter ratio tests.
Kuznietsov 2e1cafa
Filters test added.
Kuznietsov b653473
createFormulaColumn test added.
Kuznietsov 299033f
convertMathToFormulaColumn test added.
Kuznietsov 6594b8f
Added one more case to check.
Kuznietsov c9d089c
Added test for convertOtherAggsToFormulaColumn
Kuznietsov 875e6ed
added more tests for formula.
Kuznietsov 133cd0b
Added last_value tests.
Kuznietsov fcf9711
Added tests for moving average.
Kuznietsov 6947132
Style fix.
Kuznietsov 00e3fb6
Added test for convertMetricAggregationColumnWithoutSpecialParams
Kuznietsov 4d45e3f
Add tests for metrics_helper. Update tests for filter ratio and count…
VladLasitsa 2c9662c
Added tests for convertMetricAggregationToColumn
Kuznietsov 85e25ed
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov 7401851
Added tests for computeParentPipelineColumns
Kuznietsov 4608467
Added tests for convertParentPipelineAggToColumns
Kuznietsov 588d983
Add tests for getParentPipelineSeriesFormula
VladLasitsa dd6cbda
Merge branch 'navigate-to-lens-context-converting-imporvement' of htt…
VladLasitsa 538bb05
Added tests for createParentPipelineAggregationColumn
Kuznietsov 1fdba4a
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov 28022a6
Added tests for isPercentileRanksColumnWithMeta
Kuznietsov 615eb74
Added tests for convertToPercentileRankParams
Kuznietsov 7335202
Update and add tests for getSiblingPipelineSeriesFormula
VladLasitsa 70504fd
Fixed tests.
Kuznietsov e396964
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov fedee6d
Added tests for convertToPercentileRankColumn.
Kuznietsov 1fd32b8
Added tests for convertToPercentileRankColumns.
Kuznietsov a99a96c
Added tests for percentile.
Kuznietsov 3a850e1
Added tests for static_value.
Kuznietsov eb9fabf
Add tests for isValidMetrics
VladLasitsa 55e5794
Added std_deviation tests.
Kuznietsov d8e24a0
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov eb6e245
Added tests for terms.
Kuznietsov 69b2499
Added tests.
Kuznietsov 2a4e0fa
Merge branch 'main' into navigate-to-lens-context-converting-imporvement
Kuznietsov 99f86e2
Add tests for getLayers in xy configuration
VladLasitsa c65115a
Rename window to reducedTimeRange
VladLasitsa f47e4cf
Added test for getBucketsColumns
Kuznietsov 5442fed
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov d041782
Fixed tests for parent_pipeline.
Kuznietsov 42ab033
Added tests for getValidColumns
Kuznietsov b5f55f2
Added tests for getMetricsColumns
VladLasitsa d63061f
Removed empty new.index.ts of top_n.
Kuznietsov d57f02a
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov 689b52b
Configuration refactored.
Kuznietsov 6c7fbbd
Added tests for getConfigurationForTimeseries and getConfigurationFor…
VladLasitsa 0fe7efc
Added tests for timeseries/index.ts
Kuznietsov 2a24a95
Merge branch 'navigate-to-lens-context-converting-imporvement' of git…
Kuznietsov da89591
Added test for top_n.
Kuznietsov 2a04190
Refactored getSuggestionFromConvertToLensContext at suggestion_helpers.
Kuznietsov 703f03d
Merge branch 'main' into navigate-to-lens-context-converting-imporvement
kibanamachine 873eac7
Fix format
VladLasitsa e3b98a2
Fix types
VladLasitsa 144a7a2
Remove unused code
VladLasitsa c0b43ba
Fix tests
VladLasitsa 7e28d79
Fix bucket columns test
VladLasitsa b4c214b
Merge branch 'main' into navigate-to-lens-context-converting-imporvement
kibanamachine ac69c8a
Fix counter rate metric and remove unused comments
VladLasitsa a08ef9d
Merge remote-tracking branch 'upstream/main' into navigate-to-lens-co…
VladLasitsa f98f3c9
Merge branch 'main' into navigate-to-lens-context-converting-imporvement
flash1293 3e39342
Fixed pipeline and terms aggs. Added timeShift arg.
VladLasitsa 1e8ef4b
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
kibanamachine 9ca095b
Fixed tests
VladLasitsa 9908612
Merge branch 'main' into navigate-to-lens-context-converting-imporvement
Kuznietsov c3a443c
Fixed cumulative sum by value count.
Kuznietsov 89f6945
Fixed percentile and percentile ranks.
Kuznietsov cc3fcd8
Fixed tests.
Kuznietsov 018ea3c
One more fix.
Kuznietsov 3743c4d
Fixed timeShift
VladLasitsa a23795c
[CI] Auto-commit changed files from 'node scripts/precommit_hook.js -…
kibanamachine 1625b30
Fixed getDataSourceInfo method
VladLasitsa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
61 changes: 61 additions & 0 deletions
61
src/plugins/vis_types/timeseries/public/convert_to_lens/lib/__mocks__/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,61 @@ | ||
/* | ||
* 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 { PANEL_TYPES } from '../../../../common/enums'; | ||
import { Panel, Series } from '../../../../common/types'; | ||
|
||
export const createSeries = (partialSeries?: Partial<Series>): Series => ({ | ||
axis_position: 'right', | ||
chart_type: 'line', | ||
color: '#68BC00', | ||
fill: '0.5', | ||
formatter: '', | ||
id: '3bb3c1d2-5af8-44cc-9759-86725e34b157', | ||
label: '', | ||
line_width: 1, | ||
metrics: [], | ||
override_index_pattern: 0, | ||
palette: { name: 'default', type: 'palette' }, | ||
point_size: 1, | ||
separate_axis: 0, | ||
series_drop_last_bucket: 0, | ||
split_mode: 'everything', | ||
stacked: 'none', | ||
time_range_mode: 'entire_time_range', | ||
value_template: '{{value}}', | ||
seperate_axis: 0, | ||
series_index_pattern: { id: 'test' }, | ||
series_max_bars: 0, | ||
steps: 0, | ||
...partialSeries, | ||
}); | ||
|
||
export const createPanel = (parialPanel?: Partial<Panel>): Panel => ({ | ||
annotations: [], | ||
axis_formatter: '', | ||
axis_max: 100, | ||
axis_min: 0, | ||
axis_position: 'right', | ||
axis_scale: '', | ||
bar_color_rules: [], | ||
drop_last_bucket: 0, | ||
hide_last_value_indicator: false, | ||
id: 'some-id', | ||
ignore_daylight_time: true, | ||
index_pattern: { id: 'test' }, | ||
interval: '', | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
markdown_openLinksInNewTab: 0, | ||
markdown_scrollbars: 0, | ||
max_bars: 0, | ||
series: [createSeries()], | ||
show_grid: 0, | ||
show_legend: 0, | ||
type: PANEL_TYPES.TIMESERIES, | ||
...parialPanel, | ||
}); |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
* Side Public License, v 1. | ||
*/ | ||
|
||
export * from './get_layer'; | ||
export * from './xy'; |
41 changes: 41 additions & 0 deletions
41
src/plugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/chart_type.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,41 @@ | ||
/* | ||
* 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 { SeriesType, SeriesTypes } from '@kbn/visualizations-plugin/common/convert_to_lens'; | ||
import { Series } from '../../../../../common/types'; | ||
import { PANEL_TYPES } from '../../../../../common/enums'; | ||
|
||
export const getChartType = (series: Series, type: PANEL_TYPES): SeriesType => { | ||
let layerChartType: SeriesType = SeriesTypes.LINE; | ||
switch (series.chart_type) { | ||
case SeriesTypes.LINE: | ||
layerChartType = Number(series.fill) > 0 ? SeriesTypes.AREA : SeriesTypes.LINE; | ||
break; | ||
case SeriesTypes.AREA: | ||
layerChartType = SeriesTypes.AREA; | ||
break; | ||
case SeriesTypes.BAR: | ||
layerChartType = SeriesTypes.BAR; | ||
break; | ||
} | ||
|
||
if (type === PANEL_TYPES.TOP_N) { | ||
return SeriesTypes.BAR_HORIZONTAL; | ||
} | ||
|
||
if (series.stacked !== 'none' && series.stacked !== 'percent') { | ||
return layerChartType !== SeriesTypes.LINE ? `${layerChartType}_stacked` : SeriesTypes.LINE; | ||
} | ||
if (series.stacked === 'percent') { | ||
return layerChartType !== SeriesTypes.LINE | ||
? `${layerChartType}_percentage_stacked` | ||
: SeriesTypes.LINE; | ||
} | ||
|
||
return layerChartType; | ||
}; |
67 changes: 67 additions & 0 deletions
67
...s/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.test.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,67 @@ | ||
/* | ||
* 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 { createPanel } from '../../__mocks__'; | ||
import { getConfigurationForTopN, getConfigurationForTimeseries } from './configuration'; | ||
|
||
describe('getConfigurationForTimeseries', () => { | ||
test('should return correct configuration for timeseries', () => { | ||
expect(getConfigurationForTimeseries(createPanel(), [])).toEqual({ | ||
layers: [], | ||
fillOpacity: 0.5, | ||
legend: { | ||
isVisible: false, | ||
showSingleSeries: false, | ||
position: 'right', | ||
shouldTruncate: false, | ||
maxLines: 1, | ||
}, | ||
gridlinesVisibilitySettings: { | ||
x: false, | ||
yLeft: false, | ||
yRight: false, | ||
}, | ||
yLeftExtent: { mode: 'full' }, | ||
yRightExtent: { mode: 'full' }, | ||
yLeftScale: 'linear', | ||
yRightScale: 'linear', | ||
}); | ||
}); | ||
}); | ||
|
||
describe('getConfigurationForTopN', () => { | ||
test('should return correct configuration for top n', () => { | ||
expect(getConfigurationForTopN(createPanel(), [])).toEqual({ | ||
layers: [], | ||
fillOpacity: 0.5, | ||
legend: { | ||
isVisible: false, | ||
showSingleSeries: false, | ||
position: 'right', | ||
shouldTruncate: false, | ||
maxLines: 1, | ||
}, | ||
gridlinesVisibilitySettings: { | ||
x: false, | ||
yLeft: false, | ||
yRight: false, | ||
}, | ||
tickLabelsVisibilitySettings: { | ||
x: true, | ||
yLeft: false, | ||
yRight: false, | ||
}, | ||
axisTitlesVisibilitySettings: { | ||
x: false, | ||
yLeft: false, | ||
yRight: false, | ||
}, | ||
valueLabels: 'show', | ||
}); | ||
}); | ||
}); |
70 changes: 70 additions & 0 deletions
70
...lugins/vis_types/timeseries/public/convert_to_lens/lib/configurations/xy/configuration.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,70 @@ | ||
/* | ||
* 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 { Position } from '@elastic/charts'; | ||
import { XYConfiguration, XYLayerConfig } from '@kbn/visualizations-plugin/common'; | ||
import { Panel } from '../../../../../common/types'; | ||
import { getYExtents } from './extents'; | ||
|
||
export const getConfigurationForTimeseries = ( | ||
model: Panel, | ||
layers: XYLayerConfig[] | ||
): XYConfiguration => { | ||
const extents = getYExtents(model); | ||
return { | ||
layers, | ||
fillOpacity: Number(model.series[0].fill) ?? 0.3, | ||
legend: { | ||
isVisible: Boolean(model.show_legend), | ||
showSingleSeries: Boolean(model.show_legend), | ||
position: (model.legend_position as Position) ?? Position.Right, | ||
shouldTruncate: Boolean(model.truncate_legend), | ||
maxLines: model.max_lines_legend ?? 1, | ||
}, | ||
gridlinesVisibilitySettings: { | ||
x: Boolean(model.show_grid), | ||
yLeft: Boolean(model.show_grid), | ||
yRight: Boolean(model.show_grid), | ||
}, | ||
yLeftExtent: extents.yLeftExtent, | ||
yRightExtent: extents.yRightExtent, | ||
yLeftScale: model.axis_scale === 'log' ? 'log' : 'linear', | ||
yRightScale: model.axis_scale === 'log' ? 'log' : 'linear', | ||
}; | ||
}; | ||
|
||
export const getConfigurationForTopN = ( | ||
model: Panel, | ||
layers: XYLayerConfig[] | ||
): XYConfiguration => ({ | ||
layers, | ||
fillOpacity: Number(model.series[0].fill) ?? 0.3, | ||
legend: { | ||
isVisible: Boolean(model.show_legend), | ||
showSingleSeries: Boolean(model.show_legend), | ||
position: (model.legend_position as Position) ?? Position.Right, | ||
shouldTruncate: Boolean(model.truncate_legend), | ||
maxLines: model.max_lines_legend ?? 1, | ||
}, | ||
gridlinesVisibilitySettings: { | ||
x: false, | ||
yLeft: false, | ||
yRight: false, | ||
}, | ||
tickLabelsVisibilitySettings: { | ||
x: true, | ||
yLeft: false, | ||
yRight: false, | ||
}, | ||
axisTitlesVisibilitySettings: { | ||
x: false, | ||
yLeft: false, | ||
yRight: false, | ||
}, | ||
valueLabels: 'show', | ||
}); |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not for this PR, but I noticed we don't convert the axis scale (setting it to log doesn't carry that over to Lens but it could). I will open an issue for it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added support of it here