Skip to content

Commit

Permalink
[Lens] Set pie chart slices sorted clockwise (elastic#92617)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
dej611 and kibanamachine committed Mar 4, 2021
1 parent bb3d35b commit ec850fe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ export function PieComponent(
fontFamily: chartTheme.barSeriesStyle?.displayValue?.fontFamily,
outerSizeRatio: 1,
specialFirstInnermostSector: true,
clockwiseSectors: false,
minFontSize: 10,
maxFontSize: 16,
// Labels are added outside the outer ring when the slice is too small
Expand Down
2 changes: 1 addition & 1 deletion x-pack/test/functional/apps/lens/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
'[data-test-subj="embeddablePanelHeading-lnsPieVis"]',
'lnsPieVis'
);
const hasGeoDestFilter = await filterBar.hasFilter('geo.dest', 'LS');
const hasGeoDestFilter = await filterBar.hasFilter('geo.dest', 'AL');
expect(hasGeoDestFilter).to.be(true);
await filterBar.addFilter('geo.src', 'is', 'US');
await filterBar.toggleFilterPinned('geo.src');
Expand Down

0 comments on commit ec850fe

Please sign in to comment.