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 02:12:06 UTC

[GitHub] [incubator-echarts] dirslashls opened a new issue #13571: Error "Unknown dimension open" for candlestick chart with custom dimension names and zoom enabled

dirslashls opened a new issue #13571:
URL: https://github.com/apache/incubator-echarts/issues/13571


   ### Version
   5.0.0-beta.2
   
   ### Steps to reproduce
   Setup a candlestick chart with encoded data with custom dimension names and zooming. It throws the following error
   
   ```
   Unkown dimension open
   validateDimensions	@	echarts.js:32773
   List.each	@	echarts.js:32048
   SliderZoomView._renderDataShadow	@	echarts.js:75310
   SliderZoomView._buildView	@	echarts.js:75157
   SliderZoomView.render
   ```
   
   ### What is expected?
   Custom dimensions like "Open" instead of default dimension "open" should work.
   
   ### What is actually happening?
   It is throwing error.
   
   ---
   While building the zoom slider, it gets the shadowDim in CandlestickSeries.js which is "open" which is being validated without mapping it back to the dimensions defined in the dataset.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->


----------------------------------------------------------------
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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13571: Error "Unknown dimension open" for candlestick chart with custom dimension names and zoom enabled

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13571:
URL: https://github.com/apache/incubator-echarts/issues/13571#issuecomment-723713958


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
   
   If you are interested in the project, you may also subscribe our [mailing list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
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


[GitHub] [incubator-echarts] dirslashls commented on issue #13571: Error "Unknown dimension open" for candlestick chart with custom dimension names and zoom enabled

Posted by GitBox <gi...@apache.org>.
dirslashls commented 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


[GitHub] [incubator-echarts] susiwen8 commented on issue #13571: Error "Unknown dimension open" for candlestick chart with custom dimension names and zoom enabled

Posted by GitBox <gi...@apache.org>.
susiwen8 commented on issue #13571:
URL: https://github.com/apache/incubator-echarts/issues/13571#issuecomment-724617677


   `Unkown dimension open` is not concerning, but there is an error which should be fixed.


----------------------------------------------------------------
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


[GitHub] [incubator-echarts] dirslashls edited a comment on issue #13571: Error "Unknown dimension open" for candlestick chart with custom dimension names and zoom enabled

Posted by GitBox <gi...@apache.org>.
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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13571: Error "Unknown dimension open" for candlestick chart with custom dimension names and zoom enabled

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13571:
URL: https://github.com/apache/incubator-echarts/issues/13571#issuecomment-724618547


   This issue is labeled with `priority: high`, which means it's a frequently asked problem and we will fix it ASAP.


----------------------------------------------------------------
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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13571: Error "Unknown dimension open" for candlestick chart with custom dimension names and zoom enabled

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13571:
URL: https://github.com/apache/incubator-echarts/issues/13571#issuecomment-723714724


   @dirslashls Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM or https://gallery.echartsjs.com/editor.html.


----------------------------------------------------------------
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