Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Bar Code Animation Issues

$
0
0

Hi.. I am trying to do a simple bar code scale animation. Here is my code:

ChartAnimationPanel animationPanel = newChartAnimationPanel(DashboardBaseActivity.this);
animationPanel.setChart(weekChartView);
 
ChartScaleAnimation scaleAnimation = newChartScaleAnimation(weekBarSeries);
scaleAnimation.setDuration(5000);
scaleAnimation.setStartScaleX(0);
scaleAnimation.setStartScaleY(0);
scaleAnimation.setInitialDelay(1000);
animationPanel.addAnimation(scaleAnimation);
 
upper.addView(animationPanel);

When I run my app the entire graph flashes on the screen for a second and then disappears and the animation begins.

Additionally, the name data for each bar is missing and the location of the graph moves down once the animation is complete.

I have attached three images, one is the bar chart without any animation code, the second is the bar chart right before the animation completes and the third is the bar chart after the animation completes and it has moved down.

Can you please explain what I might need to change or determine if this behavior is a bug?

 

 

 


Viewing all articles
Browse latest Browse all 94857

Trending Articles