Skip to main content

DXSeriesBase Class

The base class for all series visualizing data in the DevExpress Charts suite.

Declaration

@interface DXSeriesBase: DXChartElement

Inheritance

NSObject
DXChartElement
DXSeriesBase

Properties

displayName Property

Gets or sets a series name that is displayed in a legend.

Declaration

@property (readwrite, copy, nonatomic, nullable) NSString *displayName

Property Value

Type Description
NSString *

The series name displayed in a legend.

hidden Property

Gets or sets a value indicating whether a series should be drawn in a chart.

Declaration

@property (readwrite) BOOL hidden

Property Value

Type Description
BOOL

YES if the series should be drawn in the chart; otherwise NO.

legendTextPattern Property

Gets or sets the text pattern that allows to configure a series or data point’s text in a legend item.

Declaration

@property (readwrite, copy, nonatomic, nullable) NSString *legendTextPattern

Property Value

Type Description
NSString *

The string that is the text pattern.

Remarks

The following placeholders are available for a tooltip’s text pattern:

Placeholder Description
{S} Displays a series name.
{A} Displays a series point argument.
{L} Displays a pie series point label.
{V} Displays a series point value.
{VP} Displays a series point value as percentages.
{W} Displays a Bubble series point weight.
{O} Displays a financial series point open value.
{H} Displays a financial series point high value.
{L} Displays a financial series point low value.
{C} Displays a financial series point close value.
{HV} Displays a range bar series point max value.
{LV} Displays a range bar series point min value.

Note

These values can be formatted using default format strings after the $ sign. For example, in the {VP$#.##} string, VP is a placeholder, $ is a format string separator, and #.## is a format string.

Also you can format values which replace placeholders using the default format patterns. For example, to show two decimal places, use the {V$.##} pattern.

Note that all placeholders except for {S} are available only for data point text formatting.

showInLegend Property

Gets or sets a value indicating whether a legend should display a legend item assigned to the series.

Declaration

@property (readwrite) BOOL showInLegend

Property Value

Type Description
BOOL

YES if legend item should be shown in the legend; otherwise NO.