-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use a date/string for the X value #1604
Comments
This issue talks about how to use axis value formatters to use strings as axis labels. However, I'm still confused about how I can put one string under each bar in a bar chart, instead of the strings lining up with axis gridlines. |
@Carielle I don't understand why you said this. In ChartsDemo, the x axis label is centered in each bar's center. |
Hey @hdoria how did you get on? Did you find the new Just in case: create one a subclass of Let us know how you get on and whether to close this issue. |
@madhikarma did exactly like you said. Thanks. |
The new Charts version only accepts double for the x value. How can I use a date (or string) for the X value?
ChartDataEntry: public init(x: Double, y: Double)
The text was updated successfully, but these errors were encountered: