@susanf,
The x value that you are passing in the dataPoints is a string but it accepts only numeric or dateTime values. To display string values you can use the label property.
If this doesn’t solve your issue, kindly create a sample project reproducing the issue you are facing and share it over Google-Drive or Onedrive along with sample data so that we can look into your code, and understand it better and help you out.
__
Adithya Menon
Team CanvasJS