Skip to content

Commit

Permalink
[Visualize] [xyChart] filter labels by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Nov 3, 2021
1 parent 2ad1f91 commit 862d3b0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export const getVis = (bucketType: string) => {
labels: {
show: true,
rotate: 0,
filter: false,
filter: true,
truncate: 100,
},
title: {
Expand Down Expand Up @@ -822,7 +822,7 @@ export const getStateParams = (type: string, thresholdPanelOn: boolean) => {
labels: {
show: true,
rotate: 0,
filter: false,
filter: true,
truncate: 100,
},
title: {
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/vis_types/xy/public/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const visParamsWithTwoYAxes = {
},
labels: {
type: 'label',
filter: false,
filter: true,
rotate: 0,
show: true,
truncate: 100,
Expand All @@ -138,7 +138,7 @@ export const visParamsWithTwoYAxes = {
mode: 'normal',
},
labels: {
filter: false,
filter: true,
rotate: 0,
show: true,
truncate: 100,
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/xy/public/vis_types/area.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const areaVisTypeDefinition = {
labels: {
show: true,
rotate: LabelRotation.Horizontal,
filter: false,
filter: true,
truncate: 100,
},
title: {
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/xy/public/vis_types/histogram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const histogramVisTypeDefinition = {
labels: {
show: true,
rotate: LabelRotation.Horizontal,
filter: false,
filter: true,
truncate: 100,
},
title: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const horizontalBarVisTypeDefinition = {
labels: {
show: true,
rotate: LabelRotation.Horizontal,
filter: false,
filter: true,
truncate: 200,
},
title: {},
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vis_types/xy/public/vis_types/line.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const lineVisTypeDefinition = {
labels: {
show: true,
rotate: LabelRotation.Horizontal,
filter: false,
filter: true,
truncate: 100,
},
title: {
Expand Down

0 comments on commit 862d3b0

Please sign in to comment.