Android Question How to make a line or bar chart that has date and time values on it?

Lyndon Bermoy

Active Member
Licensed User
Longtime User
I just wondering is it possible to make a line or bar chart that has date and time values on it? Because some of the tutorials posted on charts app had integer/numbers on their value. It prompts error that string or date/time is not accepted. Only double data types..

Somebody could help me on this? Or is there a way to accept time and date value on the line chart?
 

klaus

Expert
Licensed User
Longtime User
The chart points expect Float type values for the Y axis and String type for the X axis.
As you haven't explained what exactly you want to do it's difficult to give you a concrete advice.
Did you have a look at chapter 10.3.3 Charts Framework in the User's Guide ?
 
Upvote 0
Top