shobhitmehrotra1 / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

CPTCalendarFormatter does not support use of NSWeekCalendarUnit #535

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Declare a CPTCalendarFormatter object
2. Set referenceCalendarUnit  to  NSWeekCalendarUnit
3. Apply the CPTCalendarFormatter to the labelFormatter property of CPTXYAxis

What is the expected output? What do you see instead?
Should allow the axis labels to be generated as weeks.  Instead all of the axis 
labels share the same date - whatever was specified in the referenceDate 
property.

What version of the product are you using? On what operating system?
Core Plot 1.1, on iOS 5.1

Please provide any additional information below.
Looks like the NSWeekCalendarUnit enum has been missed out of the switch/case 
statement in CPTCalendarFormatter.m

Original issue reported on code.google.com by jonath...@konnekt-it.com on 10 May 2013 at 4:56

GoogleCodeExporter commented 8 years ago
This issue was closed by revision 0fc4b6a01023.

Original comment by eskr...@mac.com on 10 May 2013 at 8:24