What did you do?
We're attempting to make a candlestick graph where the x-axis is a date value. We added a datevalueformatter so the x-axis would display DD-MMM-YYYY.
What did you expect to happen?
The date formatter would display the date on the x-axis.
What happened instead?
The graph axis labels were 01-Jan-1970. In addition, the candlestick graph was drawn oddly. The red dot that was normally there was gone.
From a quick look at the code, the renderer seems to assume that x is a monotonically increasing value that starts at 0.
Charts Environment
Charts version/Branch/Commit Number:
Charts 3.1.1
Xcode 9.3
Swift 4.1
iOS 11.3
Mac OS 10.13.4
What did you do?
We're attempting to make a candlestick graph where the x-axis is a date value. We added a datevalueformatter so the x-axis would display DD-MMM-YYYY.
What did you expect to happen?
The date formatter would display the date on the x-axis.
What happened instead?
The graph axis labels were 01-Jan-1970. In addition, the candlestick graph was drawn oddly. The red dot that was normally there was gone.
From a quick look at the code, the renderer seems to assume that x is a monotonically increasing value that starts at 0.
Charts Environment
Charts version/Branch/Commit Number:
Charts 3.1.1
Xcode 9.3
Swift 4.1
iOS 11.3
Mac OS 10.13.4