SignalLine with null in X value fixed.

removed excessive code.