Data specifies labels as a List<String>. However, the labels that I have are of type long representing milliseconds since the epoch for use in a time scale.
Here's an example of what I'm trying to do:
http://www.chartjs.org/samples/latest/scales/time/financial.html
I'm not sure if the solution is to change labels to a List<?> or to add a type parameter to Data specifying the label type.
Dataspecifieslabelsas aList<String>. However, the labels that I have are of typelongrepresenting milliseconds since the epoch for use in a time scale.Here's an example of what I'm trying to do:
http://www.chartjs.org/samples/latest/scales/time/financial.html
I'm not sure if the solution is to change
labelsto aList<?>or to add a type parameter toDataspecifying the label type.