Skip to content

Commit

Permalink
fix: position is not supported for axisLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
elaine1234 committed Nov 26, 2019
1 parent 0052a82 commit 6872f57
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plots/stack-bar/layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ export default class StackBarLayer<T extends StackBarLayerConfig = StackBarLayer
},
label: {
visible: true,
position: 'middle',
offset: 0,
style: {
textAlign: 'center'
}
},
title: {
visible: true,
Expand Down

0 comments on commit 6872f57

Please # to comment.