Hide straight line in line chart when no data is received
In a line chart (plotly charts widget by Mendix), when no data is received for a while, this duration is represented by a straight line from last data received to the point when data is resumed again. So the gap between two points when there was no data received let say for 1-2 minutes is represented by a straight line (black rectangle in below image). Is there any way to remove that line between these two points and show a blank area to represent disconnection time between two points? Image is attached for better understanding of scenario.
Why do you want to hide it? This would propably lead for my oppinion to some confusion by watching your chart, because the proportions of the chart aren’t consistent. How do you think about?
I found a link which creates a chart with gaps in Python where it takes an array of data specifying values and None for no data or missing values. There is a property connectgaps which could be set for a gap or no gap chart.
Not sure if this can be configured in Mendix widget of line chart. It takes layout options of plotly in advanced mode, but this connectgaps is not in layout section of plotly reference.