Configuring Initial Animation
Send Feedback

Glossary Item Box

Topic Overview

Purpose

This topic provides an introductory overview of configuring the initial animation on the IGChartView™ control.

In this topic

This topic contains the following sections:


Introduction

Initial animation summary

Initial animation occurs during the rendering of data and allows your data points to animate into their value positions. This feature requires the category series and uses an existing transitionDuration property value and has to be enabled by setting isTransitionInEnabled to YES. To set the initial animation the series transitionInMode property uses an enumeration of possible ways to perform this animation. The transitionInMode property supports the following animation enumerations.

  • IGCategoryTransitionInModeAuto
  • IGCategoryTransitionInModeFromZero
  • IGCategoryTransitionInModeSweepFromLeft
  • IGCategoryTransitionInModeSweepFromRight
  • IGCategoryTransitionInModeSweepFromTop
  • IGCategoryTransitionInModeSweepFromBottom
  • IGCategoryTransitionInModeSweepFromCenter
  • IGCategoryTransitionInModeAccordionFromLeft
  • IGCategoryTransitionInModeAccordionFromRight
  • IGCategoryTransitionInModeAccordionFromTop
  • IGCategoryTransitionInModeAccordionFromBottom
  • IGCategoryTransitionInModeExpand
  • IGCategoryTransitionInModeSweepFromCategoryAxisMinimum
  • IGCategoryTransitionInModeSweepFromCategoryAxisMaximum
  • IGCategoryTransitionInModeSweepFromValueAxisMinimum
  • IGCategoryTransitionInModeSweepFromValueAxisMaximum
  • IGCategoryTransitionInModeAccordionFromCategoryAxisMinimum
  • IGCategoryTransitionInModeAccordionFromCategoryAxisMaximum
  • IGCategoryTransitionInModeAccordionFromValueAxisMinimum
  • IGCategoryTransitionInModeAccordionFromValueAxisMaximum

In Objective-C:

IGAnchoredCategorySeries *series = [_chart findSeriesByKey:@"series"];
series.transitionDuration = 1;
series.transitionInMode = IGCategoryTransitionInModeAccordionFromBottom;
series.isTransitionInEnabled = YES;

In C#:

IGAnchoredCategorySeries series = _chart.FindSeriesByKey ("series");

series.TransitionDuration = 1;

series.TransitionInMode = IGCategoryTransitionInMode.IGCategoryTransitionInModeAccordionFromBottom;

series.IsTransitionInEnabled = true;


Related Content

Topics

The following topic provides additional information related to this topic.

Topic

Purpose

The topics in this group cover enabling, configuring, and using the IGChartView control’s supported features.