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 2021/04/25 15:39:56 UTC

[GitHub] [echarts] Echartswest commented on issue #14784: No animation for the children in type 'text' in graphic group when resize the chart.

Echartswest commented on issue #14784:
URL: https://github.com/apache/echarts/issues/14784#issuecomment-826344253


   Hi, Ovilia
   It is ok that Calendar component is not animation supported so far.
   However, in my JSBin linked code, the group.children in type 'text' is not animated when resize the chart, it cannot be animated with other types of children in the group. This is a calendar component.
   I also tried to resize other graphic group, the same issue: the type 'text' children cannot be animated with other graphic children too.
   So, could you enable the type 'text' children to be animated synchronously with other children as one group, otherwise the animation is incomplete. Thanks!
   
   //below is not calendar component, it is in the graphic group as children in type 'text', it cannot be animated with other types of children in its group.
       group.children.push({
           type: 'text',
           style: {
               x: cellPoint[0],
               y: cellPoint[1] - cellHeight / 2 + 15,
               text: echarts.format.formatTime('dd', api.value(0)),
               fill: '#777',
               textFont: api.font({fontSize: 14})
           }
       });


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

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