Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTLegend.h File Reference
#import "CPTPlot.h"
#import "CPTBorderedLayer.h"
+ Include dependency graph for CPTLegend.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  <CPTLegendDelegate>
 Legend delegate. More...
 
class  CPTLegend
 A graph legend. More...
 

Typedefs

typedef NSStringCPTLegendNotification
 Graph notification type. More...
 

Enumerations

enum  CPTLegendSwatchLayout : NSInteger { CPTLegendSwatchLayoutLeft, CPTLegendSwatchLayoutRight, CPTLegendSwatchLayoutTop, CPTLegendSwatchLayoutBottom }
 Enumeration of legend layout options. More...
 

Variables

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...
 

Typedef Documentation

◆ CPTLegendNotification

Graph notification type.

Enumeration Type Documentation

◆ CPTLegendSwatchLayout

Enumeration of legend layout options.

Enumerator
CPTLegendSwatchLayoutLeft 

Lay out the swatch to the left side of the title.

CPTLegendSwatchLayoutRight 

Lay out the swatch to the right side of the title.

CPTLegendSwatchLayoutTop 

Lay out the swatch above the title.

CPTLegendSwatchLayoutBottom 

Lay out the swatch below the title.