NChartView Class Reference
Inherits from | NSView |
---|---|
Declared in | NChartView.h |
Overview
The NChartView class provides a view to display the chart. This view can be added anywhere to view the hierarchy of the app.
chart
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
NChartView.h
licenseKey
License key for chart the view is displaying.
@property (nonatomic, strong) NSString *licenseKey
Declared In
NChartView.h
isUpdatingEnabled
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
NChartView.h
– captureScreenshot
Capture screenshot of the chart to image.
- (NSImage *)captureScreenshot
Return Value
new image with the screenshot.
Declared In
NChartView.h