-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Aria omit columns #20038
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
Aria omit columns #20038
Changes from 7 commits
ad1d487
64b51e9
5ad8f6e
a67fd83
99d9731
77580e9
1b630cb
bcd1a81
9cb5d9a
94fd435
da33a83
34b4eed
7b5e85b
d76ce4e
f2c165d
5a1ad78
1a456fa
c74c28a
5bcac1c
c630017
0ab51ee
212ee25
01c2e6e
b3eac27
1577bce
1a06ff8
50339df
9a65f9d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -216,9 +216,10 @@ export default function ariaVisual(ecModel: GlobalModel, api: ExtensionAPI) { | |
|
|
||
| const middleSeparator = labelModel.get(['data', 'separator', 'middle']); | ||
| const endSeparator = labelModel.get(['data', 'separator', 'end']); | ||
| const columnsToExclude = labelModel.get(['data', 'columnsToExclude']); | ||
| const dataLabels = []; | ||
| for (let i = 0; i < data.count(); i++) { | ||
| if (i < maxDataCnt) { | ||
| if (i < maxDataCnt && !columnsToExclude?.includes(i)) { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, how about bcd1a81 instead? |
||
| const name = data.getName(i); | ||
| const value = data.getValues(i); | ||
| const dataLabel = labelModel.get(['data', name ? 'withName' : 'withoutName']); | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 see other places in the code use
excludeSeriesId, so perhaps here we should useexcludeDataIdinstead.