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 2020/11/09 04:02:35 UTC
[GitHub] [incubator-echarts] dirslashls edited a comment on issue #13571: Error "Unknown dimension open" for candlestick chart with custom dimension names and zoom enabled
dirslashls edited a comment on issue #13571:
URL: https://github.com/apache/incubator-echarts/issues/13571#issuecomment-723740577
I could not reproduce it on the gallery as it seems to be using 4.8. Below is the options object with which I can reproduce it locally using 5.0.0-beta.2
```
options = {
xAxis: {
data: ['2017-10-24', '2017-10-25', '2017-10-26', '2017-10-27']
},
yAxis: {},
dataZoom: [
{ show: true, type: 'slider', xAxisIndex: 0 },
{ show: true, type: 'inside', xAxisIndex: 0 },
],
dataset: [
{
dimensions: [
{ name: "Date"},
{ name: "Open"},
{ name: "Adj Close" },
{ name: "Low" },
{ name: "High" }
],
source: [
['2017-10-24',20, 30, 10, 35],
['2017-10-25',40, 35, 30, 55],
['2017-10-26',33, 38, 33, 40],
['2017-10-27',40, 40, 32, 42]]
}],
series: [{
type: 'candlestick',
encode: {
x: 0,
y: [1,2,3,4]
}
}]
};
```
----------------------------------------------------------------
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.
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