You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "wangchaoren (via GitHub)" <gi...@apache.org> on 2023/06/14 07:24:41 UTC

[GitHub] [echarts] wangchaoren opened a new issue, #18759: [Bug] 关于echart折线图只有2个点时的平滑曲线问题, smoothMonotone 无效

wangchaoren opened a new issue, #18759:
URL: https://github.com/apache/echarts/issues/18759

   ### Version
   
   5.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=line-simple
   
   ### Steps to Reproduce
   
   option = {
     xAxis: {
       type: 'category',
       data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
     },
     yAxis: {
       type: 'value'
     },
     series: [
       {
         data: [150, 530], 
         type: 'line',
         smooth: true,
         smoothMonotone: 'x' // 该参数不生效
       }
     ]
   };
   
   ### Current Behavior
   
   折线图 只有2个点时平滑曲线问题,设置 smoothMonotone 不生效
   
   ### Expected Behavior
   
   旧版本支持,新版本不支持
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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.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] echarts-bot[bot] closed issue #18759: [Bug]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] closed issue #18759: [Bug] 
URL: https://github.com/apache/echarts/issues/18759


-- 
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] echarts-bot[bot] commented on issue #18759: [Bug] 关于echart折线图只有2个点时的平滑曲线问题, smoothMonotone 无效

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #18759:
URL: https://github.com/apache/echarts/issues/18759#issuecomment-1590624565

   @wangchaoren 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] Regarding the smooth curve problem when the echart line chart has only 2 points, smoothMonotone does not work
   
   **BODY**
   
   ### Version
   
   5.2
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=line-simple
   
   ### Steps to Reproduce
   
   option = {
     xAxis: {
       type: 'category',
       data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
     },
     yAxis: {
       type: 'value'
     },
     series: [
       {
         data: [150, 530], 
         type: 'line',
         smooth: true,
         smoothMonotone: 'x' // This parameter does not take effect
       }
     ]
   };
   
   ### Current Behavior
   
   Line chart When there are only 2 points for smoothing curve problems, setting smoothMonotone does not take effect
   
   ### Expected Behavior
   
   Older versions are supported, new versions are not
   
   ### 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


[GitHub] [echarts] echarts-bot[bot] commented on issue #18759: [Bug]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #18759:
URL: https://github.com/apache/echarts/issues/18759#issuecomment-1590601046

   I'm sorry to close this issue for it lacks the necessary title. Please provide **a _descriptive_ and as _concise_ as possible title to describe your problems or requests** and then the maintainers or I will reopen this issue.
   
   Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
   
   A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
   
   Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.


-- 
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] wangchaoren commented on issue #18759: [Bug]

Posted by "wangchaoren (via GitHub)" <gi...@apache.org>.
wangchaoren commented on issue #18759:
URL: https://github.com/apache/echarts/issues/18759#issuecomment-1590622809

   这还描述的不清楚


-- 
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] wangchaoren commented on issue #18759: [Bug] 关于echart折线图只有2个点时的平滑曲线问题, smoothMonotone 无效

Posted by "wangchaoren (via GitHub)" <gi...@apache.org>.
wangchaoren commented on issue #18759:
URL: https://github.com/apache/echarts/issues/18759#issuecomment-1592200995

   能不能快点解决啊


-- 
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] wangchaoren commented on issue #18759: [Bug] 关于echart折线图只有2个点时的平滑曲线问题, smoothMonotone 无效

Posted by "wangchaoren (via GitHub)" <gi...@apache.org>.
wangchaoren commented on issue #18759:
URL: https://github.com/apache/echarts/issues/18759#issuecomment-1622756908

   旧版本为啥不是直线两点之间


-- 
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] LiDopamine commented on issue #18759: [Bug] 关于echart折线图只有2个点时的平滑曲线问题, smoothMonotone 无效

Posted by "LiDopamine (via GitHub)" <gi...@apache.org>.
LiDopamine commented on issue #18759:
URL: https://github.com/apache/echarts/issues/18759#issuecomment-1622012278

   两个点的平滑曲线就是直线


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