echarts-bot[bot] commented on issue #16434: URL: https://github.com/apache/echarts/issues/16434#issuecomment-1022025866
@jinjiaxing It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗 <details><summary><b>TRANSLATED</b></summary><br> **TITLE** [Feature] About the usage of dataset and dimensions. The usage problem of placing the first dimension on the x-axis in the default dimensions **BODY** ### What problem does this feature solve? Current dataset: // Use dimensions to specify the order of dimensions. In the Cartesian coordinate system, if the X-axis type is category, // By default, the first dimension is mapped to the X axis, and the latter dimensions are mapped to the Y axis. // If you don't specify dimensions, you can also specify series.encode The usage of dimensions is equivalent to having some automatic adaptation ![image](https://user-images.githubusercontent.com/4568031/151138739-2aeef902-44f6-44a4-b825-a06bd02858ca.png) For 2015 and 2016, these keys themselves can be understood as years, but for keys they should not be considered dimensions but should be used as metrics. For our commonly used data sets, in terms of the format returned from the interface, most of the object data is And what we need to set is [a certain dimension] as the x-axis, and [some indicators] as the y-axis. Directly use dimensions: xx, metrics: [xx,yy] It is more in line with intuitive cognition, and [ // By default, the first dimension is mapped to the X axis, and the latter dimensions are mapped to the Y axis. 】It still feels very strange, I don't know if there is any follow-up optimization here? ### What does the proposed API look like? dimensions in dataset </details> -- 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-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org