You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "martin31821 (via GitHub)" <gi...@apache.org> on 2023/09/20 11:50:23 UTC
[GitHub] [echarts] martin31821 opened a new issue, #19139: [Feature] Support nested property access for `encode`
martin31821 opened a new issue, #19139:
URL: https://github.com/apache/echarts/issues/19139
### What problem does this feature solve?
e.g. consider this option:
```ts
{
dataset: [{
id: "42",
source: [{
x: 42,
y: {
type: "range",
resolvedMin: { value: 20, inclusive: true },
resolvedMax: { value: 24, inclusive: true },
}
}]
}],
series: [{
type: 'line',
datasetId: '42',
encode: {
x: 'x',
y: 'y.resolvedMin.value'
}
}]
}
```
### What does the proposed API look like?
I'd like to be able to use `y.resolvedMin.value` as a path in a JS object such as in lodash's get: https://lodash.com/docs/4.17.15#get
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] Ovilia commented on issue #19139: [Feature] Support nested property access for `encode`
Posted by "Ovilia (via GitHub)" <gi...@apache.org>.
Ovilia commented on issue #19139:
URL: https://github.com/apache/echarts/issues/19139#issuecomment-1730898377
We don't have a recent plan to support this but a pull request is welcomed. Extra library should not be imported.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org