NSBezierPath *path = [[NSBezierPath alloc] init];
// 绘制竖线
CGFloat dash[] = {1.0, 1.0};
[path setLineDash:dash count:2 phase:0.0];
[path moveToPoint:NSMakePoint(drawAreaX+ (i * pos), drawAreaY)];
[path lineToPoint:NSMakePoint(drawAreaX + (i * pos), drawAreaY + drawAreaHeight)];