Series.encode not working for multiple series mapping[Bug]
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.2.2
### Link to Minimal Reproduction
https://jsfiddle.net/uLhqmvsy/1/
### Steps to Reproduce
1. Create bar chart using dataset, with source as column by column key-value array
2. Now to try to use series.encode to plot multiple series as given in docs but it doesn't plot multiple series
### Current Behavior
Usign series.encode to plot multiple series, in the following manner as given in docs but it is not working
`series: {
type: 'xxx',
dimensions: ['date', 'open', 'close', 'highest', 'lowest'],
encode: {
x: 'date',
y: ['open', 'close', 'highest', 'lowest']
}
}`
### Expected Behavior
It should plot series if we are using array to pass mulitple dimensions
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.