forked from core-plot/core-plot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCPTAxisLabelGroup.m
More file actions
44 lines (33 loc) · 819 Bytes
/
CPTAxisLabelGroup.m
File metadata and controls
44 lines (33 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#import "CPTAxisLabelGroup.h"
/**
* @brief A container layer for the axis labels.
**/
@implementation CPTAxisLabelGroup
#pragma mark -
#pragma mark Drawing
/// @cond
-(void)display
{
// nothing to draw
}
-(void)renderAsVectorInContext:(nonnull CGContextRef)context
{
// nothing to draw
}
/// @endcond
#pragma mark -
#pragma mark Layout
/// @name Layout
/// @{
/**
* @brief Updates the layout of all sublayers. No layout is done—each axis is responsible for positioning its labels.
*
* This is where we do our custom replacement for the Mac-only layout manager and autoresizing mask.
* Subclasses should override this method to provide a different layout of their own sublayers.
**/
-(void)layoutSublayers
{
// do nothing--axis is responsible for positioning its labels
}
/// @}
@end