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 2022/09/28 07:28:36 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #17710: [Bug] 折线图使用数据集开启面积图显示不正确问题

echarts-bot[bot] commented on issue #17710:
URL: https://github.com/apache/echarts/issues/17710#issuecomment-1260499269

   @longchuxiong 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**
   
   [Bug] Line chart using dataset open area chart display incorrect issue
   
   **BODY**
   
   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   ![image](https://user-images.githubusercontent.com/46107383/192715206-48c257c1-f8d8-4e5a-9575-efbcf8d09103.png)
   `option = {
       "color": [
           rgba(25, 101, 225, 0.64),
           "#3EB349",
           "#FF9214",
           "#FB4932",
           "#6366F1",
           "#F43F5E",
           "#0EA5E9",
           "#D946EF",
           "#14B8A6",
           "#A855F7"
       ],
       "xAxis": {
           "type": "category",
           "alignTicks": true,
           "show": true,
           "name": "x1",
       },
       "yAxis": {
               "type": "value",
               "show": true,
               "nameLocation": "end",
               "name": "y1"
           },
       "dataset": {
           "source": [
               [
                   "trend",
                   "Data One",
                   "Data Two",
                   "Data Three"
               ],
               [
                   "2014",
                   38,
                   14,
                   60
               ],
               [
                   "2015",
                   39,
                   twenty two,
                   55
               ],
               [
                   "2016",
                   33,
                   17,
                   56
               ],
               [
                   "2017",
                   36,
                   18,
                   49
               ],
               [
                   "2018",
                   39,
                   25,
                   53
               ],
               [
                   "2019",
                   37,
                   twenty three,
                   53
               ],
               [
                   "2020",
                   42,
                   twenty two,
                   57
               ],
               [
                   "2021",
                   44,
                   twenty one,
                   61
               ],
               [
                   "2022",
                   38,
                   29,
                   59
               ]
           ]
       },
       "series": [
           {
               "type": "line",
               "areaStyle": {},
           },
           {
                "type": "line",
               "areaStyle": {},
           },
           {
                "type": "line",
               "areaStyle": {},
           },
       ]
   };`
   
   ### Current Behavior
   
   Line chart using dataset and then opening area chart shows error
   
   ### Expected Behavior
   
   <img width="396" alt="image" src="https://user-images.githubusercontent.com/46107383/192715785-058b8941-59a2-4388-a09c-401014cd2bc3.png">
   
   
   ### Environment
   
   ````markdown
   - OS:
   - Browser:
   - Framework:
   ````
   
   
   ### Any additional comments?
   
   _No response_
   </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-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