NChartView Class Reference

Inherits from NSView
Declared in NChartView.h


The NChartView class provides a view to display the chart. This view can be added anywhere to view the hierarchy of the app.


Get chart instance. It is created with the view’s creation and destroyed with its destruction.

@property (nonatomic, readonly) NChart *chart

See Also

Declared In



License key for chart the view is displaying.

@property (nonatomic, strong) NSString *licenseKey

Declared In



Flag determining if view is allowed to recreate internal rendering data structures (YES) or not (NO). The default value is YES.
Use this flag to temporary lock the updating of the view. You may need to lock it (by setting NO to this property) when view disappears from screen and unlock it (by setting YES) in it appears back. This kind of locking helps to avoid troubles related to the updating of invisible OpenGL-based views.

@property (nonatomic, assign) BOOL isUpdatingEnabled

Declared In


– captureScreenshot

Capture screenshot of the chart to image.

- (NSImage *)captureScreenshot

Return Value

new image with the screenshot.

Declared In