Specifies what information is displayed on a chart as a data point label.
public enum DataLabelValueType
Remarks
By default, data point labels are not displayed. To display a data point label, set DataPoint.IsLabelVisible to true and use DataPoint.LabelValue and DataPoint.LabelText to control what information is displayed.
Members
| Member Name | Description | Value |
| DataPointName | The value specified in DataPoint.Name is displayed. | 0 |
| DataPointNameAndYValue | The name of the data point and the Y value of the data point are displayed. | 1 |
| DataPointNameAndYValue2 | The name of the data point and the Y2 value of the data point are displayed. | 2 |
| Index | The 0-based index of the data point is displayed. | 3 |
| SeriesName | The value specified in Series.Name is displayed. | 4 |
| XValue | The X value of the data point is displayed. | 5 |
| XPercent | The X value of the data point is displayed, expressed as a percentage of the sum of all X values in the series. | 6 |
| XTotal | The sum of all X values in a series is displayed. | 7 |
| YValue | The Y value of the data point is displayed. | 8 |
| YValue2 | The second Y value of the data point is displayed. Valid for series where data points have more than one Y value. | 9 |
| YValue3 | The third Y value of the data point is displayed. Valid for series where data points have more than two Y values. | 10 |
| YValue4 | The fourth Y value of the data point is displayed. Valid for series where data points have more than three Y values. | 11 |
| YPercent | The first Y value of the data point is displayed, expressed as a percentage of the sum of all first Y values in the series. | 12 |
| YPercent2 | The second Y value of the data point is displayed, expressed as a percentage of the sum of all second Y values in the series. Valid for series where data points have more than one Y value. | 13 |
| YPercent3 | The third Y value of the data point is displayed, expressed as a percentage of the sum of all third Y values in the series. Valid for series where data points have more than two Y values. | 14 |
| YPercent4 | The fourth Y value of the data point is displayed, expressed as a percentage of the sum of all fourth Y values in the series. Valid for series where data points have more than three Y values. | 15 |
| YTotal | The sum of all first Y values in a series is displayed. | 16 |
| YTotal2 | The sum of all second Y values in a series is displayed. Valid for series where data points have more than one Y values. | 17 |
| YTotal3 | The sum of all third Y values in a series is displayed. Valid for series where data points have more than two Y values. | 18 |
| YTotal4 | The sum of all fourth Y values in a series is displayed. Valid for series where data points have more than three Y values. | 19 |
| YTotalStacked | The sum of all Y values in a stacked bar is displayed. Valid for stacked bar chart. | 20 |
Requirements
Namespace: Aspose.Chart
Assembly: Aspose.Chart (in Aspose.Chart.dll)
See Also
Aspose.Chart Namespace