Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTGraphHostingView Class Reference

A container view for displaying a CPTGraph. More...

#import <CPTGraphHostingView.h>

+ Inheritance diagram for CPTGraphHostingView:
+ Collaboration diagram for CPTGraphHostingView:

Properties

Hosted graph
CPTGraphhostedGraph
 The CPTGraph hosted inside this view. More...
 
Printing
NSRect printRect
 The bounding rectangle used when printing this view. Default is NSZeroRect. More...
 
Cursors
NSCursorclosedHandCursor
 The cursor displayed when the user is actively dragging any plot space. More...
 
NSCursoropenHandCursor
 The cursor displayed when the mouse pointer is over a plot area mapped to a plot space that allows user interaction, but not actively being dragged. More...
 
User Interaction
BOOL allowPinchScaling
 Whether a pinch gesture will trigger plot space scaling. Default is YES. More...
 

Additional Inherited Members

- Public Class Methods inherited from NSObject
(id+ alloc
 
(Class+ class
 
(void) + initialize
 
(void) + load
 
(id+ new
 
- Public Class Methods inherited from <NSKeyValueBindingCreation>
(void) + exposeBinding:
 
- Public Class Methods inherited from <NSSecureCoding>
(BOOL+ supportsSecureCoding:
 
- Public Instance Methods inherited from NSObject
(Class- classForCoder
 
(id- copy
 
(void) - dealloc
 
(void) - finalize
 
(id- init
 
(id- mutableCopy
 
- Public Instance Methods inherited from <NSObject>
(NSString *) - description
 
(NSUInteger- hash
 
(BOOL- isEqual:
 
- Public Instance Methods inherited from <NSKeyValueBindingCreation>
(NSArray *) - exposedBindings
 
(Class- valueClassForBinding:
 
(void) - bind:toObject:withKeyPath:options:
 
(NSArray *) - optionDescriptionsForBinding:
 
(NSDictionary *) - infoForBinding:
 
(void) - unbind:
 
- Public Instance Methods inherited from <NSCoding>
(id- initWithCoder:
 
(void) - encodeWithCoder:
 

Detailed Description

A container view for displaying a CPTGraph.

Property Documentation

◆ allowPinchScaling

- (BOOL) allowPinchScaling
readwritenonatomicassign

Whether a pinch gesture will trigger plot space scaling. Default is YES.

◆ closedHandCursor

- (nullable NSCursor *) closedHandCursor
readwritenonatomicstrong

The cursor displayed when the user is actively dragging any plot space.

◆ hostedGraph

- (nullable CPTGraph *) hostedGraph
readwritenonatomicstrong

The CPTGraph hosted inside this view.

◆ openHandCursor

- (nullable NSCursor *) openHandCursor
readwritenonatomicstrong

The cursor displayed when the mouse pointer is over a plot area mapped to a plot space that allows user interaction, but not actively being dragged.

◆ printRect

- (NSRect) printRect
readwritenonatomicassign

The bounding rectangle used when printing this view. Default is NSZeroRect.

If NSZeroRect (the default), the frame rectangle of the view is used instead.


The documentation for this class was generated from the following files: