I have a collection of 1000s of x/y points. I would like to plot them on a chart with a line connecting them all. This should be very easy to do but upon reading the docs there is no plot(x,y) type function. I am noticing the following:
- It looks like a label has to be created for every x value. I may not know the x values at the time of the charts creation
- I have huge numbers with many decimal places. I assume this will mean that most x values end up between labels.
- Is there a way to plot the points without having a circular plot point shape? Basically a smooth line running all the way from the left to the right that is created based on the x/y data?
Here is some example data so you get the idea:
data: [
{x: 21345.67890, y: 40},
{x: 22783.12345, y: 43},
{x: 27900.00012, y: 80},
// many more plot points
],
Am I missing something obvious? Is there a quick example someone could whip up to show me how this works?