Suraj-Singhvi opened a new issue, #18687:
URL: https://github.com/apache/echarts/issues/18687

   ### Version
   
   5.4.2
   
   ### Link to Minimal Reproduction
   
   
https://echarts.apache.org/examples/en/editor.html?c=area-pieces&code=PYBwLglsB2AEC8sDeAoWsIBMBcsDkAZgEwBsRADAQJwkC0A7ACyMCmtRLAhvbZgMYE6AVj5Eq5TiT4AjKgA4AzHgA0KNLADOLAE4QWG3AG116VOnOwwATxAtceaZ20qT5zJzCcjri4byYWAk4AVwAbMBVYAEYyEgUAOiEFZJTUhQBdVQtfPAAZTg0wWHpYdysNSIpGKiF6OXjyRqamokyfcz98wthxUs5yyqiqenoiKPj6ISiiBRIhqPT2tvaAehXYPmBgbUwIaA8WAGVysBYAW3sQYFCnF2zYAA8AQQeIA3wCAhHGTkxpWioLEwVFocii5DoLDi_yi0kYREwQgI5D4LD4UTwrgAvuo2ug1rBtL8IMENC83rgzLACegNAALYAAd1wYG0wRYWWp63Q1ls9j4BwA5tsrHcubAsZyCZxoILQixye8kJL1ASrjdtJSVepnq8la4sPZPt9fv9AcDQeDIdDaLD4Yjkaj0WLaQzmZY2RzXLy7PgBadhdpReoVegrIrvBYqRZDfhyFQFJgZojbWieNJpFFGLQBHxs4CWPQ-HwEwJpEQXeZ6UyWZ7sbiUFiANxAA
   
   ### Steps to Reproduce
   
   In the given example, the eChart would render a bar chart correctly. But 
when you try to comment on the `xAxis & yAxis` settings and have the settings 
for the Polar chart which are - `coordinate-system, radiusAxis, angleAxis, and 
polar`, the eChart renders an incorrect chart overlap until the RUN button is 
clicked again. The same issue would occur vice -versa when you have polar chart 
settings and then update it to have bar chart settings.and 
   
   ### Current Behavior
   
   When I have a Bar chart with x & y axis and I update the echart options to 
have polar chart settings, I would expect the Polar chart to be displayed but 
instead a weird chart is being shown.
   
   Before:
   
![image](https://github.com/apache/echarts/assets/25072841/2b16a17f-e968-4af3-b785-d63b72a4874b)
   
   After:
   
![image](https://github.com/apache/echarts/assets/25072841/777d4dd6-8c96-4fcc-af5d-161fbad73568)
   
   NOTE: Do not click the RUN button.
   
   
   
   ### Expected Behavior
   
   I would expect the chart to be updated automatically without the need to 
click the RUN button in this case.
   
![image](https://github.com/apache/echarts/assets/25072841/b859fe16-b8a9-4f19-aac1-7757720b8c38)
   
   As echart automatically keeps updating the options whenever the settings are 
updated, i would expect it will render a Polar chart instead.
   
   
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   (In my application, I am switching between different chart types like `Bar | 
Polar | Radar | Pie` this issue only happens while switching between Bar and 
Polar)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to