Currently, I am incorporating Highcharts into my jsp.
Typically, when using Highcharts, we are able to create charts with all points evenly spaced along the x-axis.
However, in this instance, I am interested in setting the points based on their x-values rather than spacing them along the x-axis.
For example:
Instead of plotting [1,1],[2,1],[3,1]
, I would like to plot [1,1],[3,1],[7,1]
as [point]--[point]----[point]
Here, "-" symbolizes the distance between points.
Would you be able to provide me with a javascript example like
$('#mycontainer').highcharts(???);
?