NChartLabel Class Reference

Inherits from NChartPlaced : NChartObject : NSObject
Declared in NChartLabel.h

Overview

The NChartLabel class provides methods to display text on the chart.

+ label

Create new label instance.

+ (NChartLabel *)label

Return Value

new label instance.

Declared In

NChartLabel.h

  font

Font of the label’s text.

@property (nonatomic, strong) NSFont *font

Declared In

NChartLabel.h

  textColor

Color of the label’s text.

@property (nonatomic, strong) NSColor *textColor

Declared In

NChartLabel.h

  text

Text to display in the label.

@property (nonatomic, strong) NSString *text

Declared In

NChartLabel.h

  textWrapping

Wrapping mode of the label’s text.

@property (nonatomic, assign) NSLineBreakMode textWrapping

Declared In

NChartLabel.h

  textAlignment

Alignment of the label’s text.

@property (nonatomic, assign) NSTextAlignment textAlignment

Declared In

NChartLabel.h

  maxWidth

Maximal width of the label’s text in pixels. If the text is bigger than the given size, lines will be broken according to the wrapping mode. If 0, this option is ignored. The default value is 0.

@property (nonatomic, assign) float maxWidth

Declared In

NChartLabel.h