Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
Notifications

Notifications used by Core Plot. More...

Graph

CPTGraphNotification __nonnull const CPTGraphNeedsRedrawNotification
 Notification sent by various objects to tell the graph it should redraw itself. More...
 
CPTGraphNotification __nonnull const CPTGraphDidAddPlotSpaceNotification
 Notification sent by a graph after adding a new plot space. More...
 
CPTGraphNotification __nonnull const CPTGraphDidRemovePlotSpaceNotification
 Notification sent by a graph after removing a plot space. More...
 
CPTGraphPlotSpaceKey __nonnull const CPTGraphPlotSpaceNotificationKey
 The userInfo dictionary key used by the CPTGraphDidAddPlotSpaceNotification and CPTGraphDidRemovePlotSpaceNotification notifications for the plot space. More...
 

Layout

CPTLayerNotification __nonnull const CPTLayerBoundsDidChangeNotification
 Notification sent by all layers when the layer bounds change. More...
 

Legend

CPTLegendNotification __nonnull const CPTLegendNeedsRedrawForPlotNotification
 Notification sent by plots to tell the legend it should redraw itself. More...
 
CPTLegendNotification __nonnull const CPTLegendNeedsLayoutForPlotNotification
 Notification sent by plots to tell the legend it should update its layout and redraw itself. More...
 
CPTLegendNotification __nonnull const CPTLegendNeedsReloadEntriesForPlotNotification
 Notification sent by plots to tell the legend it should reload all legend entries. More...
 

Plot Space

CPTPlotSpaceCoordinateMapping __nonnull const CPTPlotSpaceCoordinateMappingDidChangeNotification
 Plot space coordinate change notification. More...
 
CPTPlotSpaceInfoKey __nonnull const CPTPlotSpaceCoordinateKey
 The userInfo dictionary key used by the CPTPlotSpaceCoordinateMappingDidChangeNotification to indicate the plot coordinate affected by the mapping change. More...
 
CPTPlotSpaceInfoKey __nonnull const CPTPlotSpaceScrollingKey
 The userInfo dictionary key used by the CPTPlotSpaceCoordinateMappingDidChangeNotification to indicate whether the mapping change is a scroll movement or other change. More...
 
CPTPlotSpaceInfoKey __nonnull const CPTPlotSpaceDisplacementKey
 The userInfo dictionary key used by the CPTPlotSpaceCoordinateMappingDidChangeNotification to indicate the displacement offset for scrolling changes in drawing coordinates. More...
 

Detailed Description

Notifications used by Core Plot.

Variable Documentation

◆ CPTGraphDidAddPlotSpaceNotification

CPTGraphNotification __nonnull const CPTGraphDidAddPlotSpaceNotification

Notification sent by a graph after adding a new plot space.

The notification userInfo dictionary will include the new plot space under the CPTGraphPlotSpaceNotificationKey key.

◆ CPTGraphDidRemovePlotSpaceNotification

CPTGraphNotification __nonnull const CPTGraphDidRemovePlotSpaceNotification

Notification sent by a graph after removing a plot space.

The notification userInfo dictionary will include the removed plot space under the CPTGraphPlotSpaceNotificationKey key.

◆ CPTGraphNeedsRedrawNotification

CPTGraphNotification __nonnull const CPTGraphNeedsRedrawNotification

Notification sent by various objects to tell the graph it should redraw itself.

◆ CPTGraphPlotSpaceNotificationKey

CPTGraphPlotSpaceKey __nonnull const CPTGraphPlotSpaceNotificationKey

The userInfo dictionary key used by the CPTGraphDidAddPlotSpaceNotification and CPTGraphDidRemovePlotSpaceNotification notifications for the plot space.

◆ CPTLayerBoundsDidChangeNotification

CPTLayerNotification __nonnull const CPTLayerBoundsDidChangeNotification

Notification sent by all layers when the layer bounds change.

◆ CPTLegendNeedsLayoutForPlotNotification

CPTLegendNotification __nonnull const CPTLegendNeedsLayoutForPlotNotification

Notification sent by plots to tell the legend it should update its layout and redraw itself.

◆ CPTLegendNeedsRedrawForPlotNotification

CPTLegendNotification __nonnull const CPTLegendNeedsRedrawForPlotNotification

Notification sent by plots to tell the legend it should redraw itself.

◆ CPTLegendNeedsReloadEntriesForPlotNotification

CPTLegendNotification __nonnull const CPTLegendNeedsReloadEntriesForPlotNotification

Notification sent by plots to tell the legend it should reload all legend entries.

◆ CPTPlotSpaceCoordinateKey

CPTPlotSpaceInfoKey __nonnull const CPTPlotSpaceCoordinateKey

The userInfo dictionary key used by the CPTPlotSpaceCoordinateMappingDidChangeNotification to indicate the plot coordinate affected by the mapping change.

The value associated with this key is the CPTCoordinate affected by the change wrapped in an instance of NSNumber.

◆ CPTPlotSpaceCoordinateMappingDidChangeNotification

CPTPlotSpaceCoordinateMapping __nonnull const CPTPlotSpaceCoordinateMappingDidChangeNotification

Plot space coordinate change notification.

This notification is posted to the default notification center whenever the mapping between the plot space coordinate system and drawing coordinates changes.

◆ CPTPlotSpaceDisplacementKey

CPTPlotSpaceInfoKey __nonnull const CPTPlotSpaceDisplacementKey

The userInfo dictionary key used by the CPTPlotSpaceCoordinateMappingDidChangeNotification to indicate the displacement offset for scrolling changes in drawing coordinates.

The value associated with this key is the displacement offset wrapped in an instance of NSNumber.

◆ CPTPlotSpaceScrollingKey

CPTPlotSpaceInfoKey __nonnull const CPTPlotSpaceScrollingKey

The userInfo dictionary key used by the CPTPlotSpaceCoordinateMappingDidChangeNotification to indicate whether the mapping change is a scroll movement or other change.

The value associated with this key is a boolean value wrapped in an instance of NSNumber. The value is YES if the plot space change represents a horizontal or vertical translation, NO otherwise.