Ovilia commented on issue #9559: Strange behavior when rendering chart in a 
table
URL: 
https://github.com/apache/incubator-echarts/issues/9559#issuecomment-446070887
 
 
   If you log the width of the container in `mounted`, you may find that the 
width of them are not the same:
   ```js
   console.log(this.$refs.chart.clientWidth)
   // prints 477, 633, 654, 655 in my case
   ```
   
   This is because the width of a column is decided by content width of each 
columns. And it changes when content changes.
   In your case, I'd suggest setting `<td>` width using CSS to be fixed, like 
`40%` or `200px`. Hopefully that will help.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to