You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/12/09 16:12:22 UTC
[GitHub] [echarts] uykusuz opened a new issue #16201: [Feature] Volume Profiles
uykusuz opened a new issue #16201:
URL: https://github.com/apache/echarts/issues/16201
### What problem does this feature solve?
Hi guys,
I want to realize [this][1] using echarts. In particular:
* there's a line series
* there's a bar series at the right
That would be realized like this:
* bottom x-axis: `category`
* left y-axis: `value` (price)
* right y-axis: `category` (the categories from the bottom x-axis)
* top x-axis: `value` (a count)
I tried it with [this][2]. But that doesn't work, the bar is not displayed.
Am I doing something wrong or is this kind of thing not thought of so far?
[1]: https://www.tradingview.com/support/solutions/43000502040-volume-profile/
[2]: https://jsfiddle.net/uykusuz/jL1kx3br/
### What does the proposed API look like?
Not sure, since I don't know what the exact problem is.
--
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
[GitHub] [echarts] Ovilia commented on issue #16201: [Feature] Volume Profiles
Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #16201:
URL: https://github.com/apache/echarts/issues/16201#issuecomment-990741887
You need multiple `grid` and set `gridIndex` for each `xAxis` and `yAxis`. [Here](https://echarts.apache.org/examples/zh/editor.html?c=scatter-anscombe-quartet) is an example.
--
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
[GitHub] [echarts] uykusuz commented on issue #16201: [Support] Multiple series in a chart instance
Posted by GitBox <gi...@apache.org>.
uykusuz commented on issue #16201:
URL: https://github.com/apache/echarts/issues/16201#issuecomment-990750367
Amazing, works, thank you a lot!
--
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
[GitHub] [echarts] uykusuz commented on issue #16201: [Support] Multiple series in a chart instance
Posted by GitBox <gi...@apache.org>.
uykusuz commented on issue #16201:
URL: https://github.com/apache/echarts/issues/16201#issuecomment-990744515
@Ovilia thank you for the fast response! :)
That example suggests that basically I cannot do what I want in a single chart? i.e. a line series, and in the same chart a bar series on the right. Like you see [here](https://www.tradingview.com/support/solutions/43000502040-volume-profile/) in the first chart.
--
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
[GitHub] [echarts] Ovilia commented on issue #16201: [Support] Multiple series in a chart instance
Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #16201:
URL: https://github.com/apache/echarts/issues/16201#issuecomment-990746572
You can create multiple series in a single chart. In your case, you may want to set two grids and make them at the same position:
```js
grid: [{
left: 30, right: 30, top: 30, bottom: 30
}, {
left: 30, right: 30, top: 30, bottom: 30
}];
```
--
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
[GitHub] [echarts] uykusuz closed issue #16201: [Support] Multiple series in a chart instance
Posted by GitBox <gi...@apache.org>.
uykusuz closed issue #16201:
URL: https://github.com/apache/echarts/issues/16201
--
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