Skip to main content

ChartBase

The ChartBase abstract class defines properties that all chart have in common.

Definition

public abstract class ChartBase : GraphicsView, IDisposable

Properties

NameTypeDescriptionDefault
IsAnimatedboolIf set to true the chart will be animatedfalse
EasingEasingGets or Sets the easing function to be used when animatingEasing.CubicInOut
AnimationDurationdoubleGets or Sets the duration of the animation250d
ThemeChartThemeGets or Sets the theme to use when drawing the chartnull
DisplayLabelsboolIf set to true all labels will be drawntrue
LabelFontFamilyIFontGets or Sets the font of the labelsFont.Default
LabelFontSizedoubleGets or Sets the size the fonts will use when drawing10d
LabelFontColorColorGets or Sets the color of labels in the chartColors.Black
LabelMargindoubleGets or Sets the margin that is going to be used when measuring labels10d
EnableAntialiasboolGets or sets if the current canvas will use Antialias mode or not when drawing contenttrue
HasSelectionboolIf set to true the chart will support selectiontrue

See also