MindFusion.Charting Programmer's Guide

Summary Enumeration

See Also
 





Specifies type of summary operations that can be performed over the chart values.

Namespace: MindFusion.Charting
Assembly: MindFusion.Charting

 Syntax

C#  Copy Code

public enum Summary

Visual Basic  Copy Code

Public Enumeration Summary

JavaScript  Copy Code

// enum
Summary = {}

 Members

  Member name Description

Average

The summary is calculated as the average value of all data values.

Max

The summary is calculated as the maximum value of all data values.

Min

The summary is calculated as the minimum value of all data values.

None

No summary is calculated.

Sum

The summary is calculated as the sum of all data values.

 Remarks

The Enumeration represents the aggregate operations that could be performed over the chart data values. The operation is performed on all values, that means, for values given in more than one liat, the summary value is calculated on all of them.

The calculation is on the values of the X-axis for horizontal line charts and on values at the Y-axis for vertical ones. In bar charts, it is always performed on Data.

In order to specify summary operations for a given chart, you should add the chosen Summary members to the SummaryValues property. The chart parts for the summary values are drawn with pens and brushes set with the SummaryPens and SummaryBrushes properties.

The AddCustomSummary method enables you to add custom summaries.

 See Also