Skip to content

MorphOptions

ClassChartGuruChartGuru
public class MorphOptions

Options for a chart-type transition (ChartGuru.Chart.MorphTo(ChartGuru.ChartType%2cChartGuru.MorphOptions)). The animation curve is provided via ChartGuru.MorphOptions.Animation, matching the rest of the API.

public Animation Animation

Animation curve and timing for the transition. Defaults to ChartGuru.Animation.Default.

Returns

ChartGuru.Animation

public PointMapping PointMapping

Strategy for matching data points between the source and target chart types.

Returns

ChartGuru.PointMapping

public bool AnimateAxes

Animate the axis scale when morphing between chart types.

Returns

System.Boolean

public ChartMorphStyle Style

Visual transition style. Defaults to ChartGuru.ChartMorphStyle.CrossFade.

Returns

ChartGuru.ChartMorphStyle

public Action OnComplete

Called exactly once when the morph completes (fires from the morpher).

Returns

System.Action

public MorphOptions()