I am facing a rather interesting challenge with plotting data. I want to create a chart where time is the x-axis scale and multiple lines are plotted, each with varying time intervals between data points. While zingcharts has provided documentation on general scale elements, it doesn't specifically address this unique case that I'm trying to achieve.
Currently, all lines plot on the same time step, causing discrepancies in length when some lines have fewer data points (greater time between points). This issue does not arise when there's only one chart using its data timestamp.
Should I address this complexity at the backend or can Zingcharts handle it on the frontend?
Here is my JavaScript code for a single plot that works well. Do I need to modify it to accommodate the aforementioned time scale variation with multiple plots?
var myChart=
{
"type": "line",
"title":{
"text":" value over time --- 38 data points"
},
"legend": {},
"tooltip": {},
"crosshair-x":{},
"plot": {
"valueBox": {
"type": "max, min",
"placement": "top",
"visible" : false
}
},
"scaleX": {
"label": {
"text": "Time",
},
"values" : [ 1418947599.0, 1418947599.0, 1418947599.0, 1418947599.0, 1418947599.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0, 1418947600.0...