Hi jqWidgets team,
as newbie in your amazing library I was looking at the chart examples and realized that all multiple serie’s data was aligned on the x-axis values and according to the API each serie is referenced by the name of the value property of the chart’s data source.
But how can we display the following two independent data rows in a line chart?
s1_data: [{time: 1-4-2015, val1: 10}, {time: 3-4-2015, val1: 20}, {time: 4-4-2015, val1: 30}]
s2_data: [{time: 2-4-2015, val2: 15}, {time: 4-4-2015, val2: 25}, {time: 5-4-2015, val2: 35}]
x-axis will have points at 1st, 2nd, 3rd, 4th and 5th of April, but the series s1 and s2 has a value at only few of this points.
How to configure the data source and the series of a line chart, to display proper the two rows?
Can you provide me some example code?
Many thanks in advance!
Best regards,
Anton