TooltipDataContext Class
Definition
Data context passed to custom tooltip templates.
public class TooltipDataContext
Constructors
| Name | Description |
|---|---|
| TooltipDataContext | No summary available. |
TooltipDataContext Constructor
public TooltipDataContext()
Properties
| Name | Description |
|---|---|
| Category | Gets the category (X-axis value) of the data point. |
| DataItem | Gets the original data item from the ItemsSource. |
| DataPointIndex | Gets the index of the data point within the series. |
| Series | Gets the series that contains the data point. |
| Value | Gets the value (Y-axis value) of the data point. |
Category Property
Gets the category (X-axis value) of the data point.
public object Category { get; set; }
DataItem Property
Gets the original data item from the ItemsSource.
public object DataItem { get; set; }
DataPointIndex Property
Gets the index of the data point within the series.
public int DataPointIndex { get; set; }
Series Property
Gets the series that contains the data point.
public Avalonia.Controls.Charts.ChartSeries Series { get; set; }
Value Property
Gets the value (Y-axis value) of the data point.
public double Value { get; set; }