I'm trying to use date/time on the XAxis of a Line Series Chart but the date/time's are not showing up on the Axis. This is a smple of how I'm setting up my XAxis in code. There are no examples in the Android Sample Browser that use DateTimeXAxis. If someone could either point out what I'm doing wrong or upload a working sample that would be appreciated.
CategoryDateTimeXAxis xAxis = new CategoryDateTimeXAxis();
xAxis.setTitle("Date");xAxis.setDateTimeMemberPath("date");xAxis.setLabel("date");xAxis.setLabelAngle(45);
Hello Ed,
Thank you for contacting Infragistics. The issue might be because setLabel isn't defined as a format.
eg. try setting it to the following:xAxis.setLabel("Date:D");
I attached files from code files from a working sample demonstrating this below. Let me know if you have any questions.
chartexample.zip