Skip to content

Using v-show to render different modules, rendering problems occur when specifying width percentages #12715

Discussion options

You must be logged in to vote

I don't think this is a core bug. You should manually call resize() when the hidden chart shows.

let vwdc = null  

function testclick(para) {
  //...
  nextTick(()=>{
    if(vwdc) vwdc.resize()
  })
}

//...
vwdc = echarts.init(wdc.value);
//...

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Mrswangp
Comment options

@Wei-Ba
Comment options

@Mrswangp
Comment options

@Mrswangp
Comment options

Answer selected by Mrswangp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #12714 on January 15, 2025 06:42.