ChartBase
The ChartBase
abstract class defines properties that all chart have in common.
Definition
public abstract class ChartBase : GraphicsView, IDisposable
Properties
Name | Type | Description | Default |
---|---|---|---|
IsAnimated | bool | If set to true the chart will be animated | false |
Easing | Easing | Gets or Sets the easing function to be used when animating | Easing.CubicInOut |
AnimationDuration | double | Gets or Sets the duration of the animation | 250d |
Theme | ChartTheme | Gets or Sets the theme to use when drawing the chart | null |
DisplayLabels | bool | If set to true all labels will be drawn | true |
LabelFontFamily | IFont | Gets or Sets the font of the labels | Font.Default |
LabelFontSize | double | Gets or Sets the size the fonts will use when drawing | 10d |
LabelFontColor | Color | Gets or Sets the color of labels in the chart | Colors.Black |
LabelMargin | double | Gets or Sets the margin that is going to be used when measuring labels | 10d |
EnableAntialias | bool | Gets or sets if the current canvas will use Antialias mode or not when drawing content | true |
HasSelection | bool | If set to true the chart will support selection | true |