Null value with tickvals

Hello guys,
I don’t know if this is a bug or a error of mine.
I have a lot of subplots with this data atrtibute:
{ name: obj.digi[val].id, connectgaps: false, type: 'scatter', mode: 'lines', fixedrange: true, line: {shape: "hv", color: "#" + obj.digi[val].color}, yaxis: axes }
I have to rappresent digital signals and discrete signals. When i use [0,1] values a null value in the array interrupt my plot line like i want but if i use a string value like letters (ex [‘a’,‘b’,‘c’]) null will be printed like a value in the graph and the line is not interrupted.
It’s a bug o i do somethings wrong?

Thank you.

Thanks for writing in.

This is a bug on our part. Subscribe to https://github.com/plotly/plotly.js/issues/271 for the latest information.

Thanks again.

1 Like