NChartView Class Reference
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
License key for chart the view is displaying.
@property (nonatomic, strong) NSString *licenseKey
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
Capture screenshot of the chart to image.
- (NSImage *)captureScreenshot
new image with the screenshot.