I need to know how dataPoints works in canvasJS. For example: i know that if i feed dataPoints a json file that is completely comprised of x and y points, it will chart them just fine. However, I want to know if that is the only form of data it can take. how does it parse through the data and decide which point is an X point and which one is a Y point? I cant find documentation on this and if I could it would give me answers to HOW I should be cleaning and organizing my JSON files so they can be fed to dataPoints and graphed easily. Thank you!