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/07/30 06:58:21 UTC

[GitHub] [echarts] echarts-bot[bot] commented on issue #17445: [Bug] 工具栏动态类型切换的时候,柱状切换堆叠和折线图的活性bug

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

   @qianjiuban 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] When the dynamic type of the toolbar is switched, the activity bug of the column switching stack and line chart
   
   **BODY**
   
   ### Version
   
   5.0.0
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   1. Mine is dynamic data. The method of generating the chart is a bit too much, so I won't post it. I tried the simplest example of the histogram on the official website, and this problem will occur with the toolbar.
   2. Toolbar configuration item code
   ````
   toolbox: {
             show: true,
             orient: 'vertical',
             left: 'right',
             top: 'center',
             feature: {
               mark: { show: true },
               dataView: { show: true, readOnly: true, title: 'Data View' },
               magicType: { show: true, type: ['line', 'bar', 'stack'], title: { line: 'Switch to line chart', bar: 'Switch to column chart', stack: 'Switch to stack ' } },
               restore: { show: true, title: 'Restore' },
               saveAsImage: { show: true, title: 'Save as image' },
             },
    }
   ````
   3. Reproduce:
   Histogram toggle stacking: normal
   Stacked Tangent Lines: Y-axis tick does not change
   Lines cut into columns: Stacked charts appear instead of column charts
   Click the stack again: the stacking activity is canceled, and the histogram appears
   
   ### Current Behavior
   
   1. Normal display
   ![image](https://user-images.githubusercontent.com/91234104/181878432-26ca9680-d93b-42f5-b671-da6af20e15e4.png)
   2. Switch stack
   ![image](https://user-images.githubusercontent.com/91234104/181878555-7e41fc39-d577-4f32-8b54-c48f3d50b954.png)
   3. Stacking cut and fold lines
   ![image](https://user-images.githubusercontent.com/91234104/181878572-c3960483-43ff-4cfc-8370-d7d84bbb4974.png)
   4. Normal line (the histogram is directly cut into a line chart)
   ![image](https://user-images.githubusercontent.com/91234104/181878597-d22a7aff-f182-48fe-bb80-ad6e9eb7cac3.png)
   
   
   ### Expected Behavior
   
   
   The dynamic type can be switched normally, and the active content can be canceled and added with the click when switching.
   
   ### Environment
   
   ````markdown
   - OS: windows
   - Browser: Chrome
   - Framework:Vue@2
   ````
   
   
   ### 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