tmrDynamic.Enabled = False 'stop the Timer
DynamicLines1.ClearData 'clear the data
'redefine the lines
DynamicLines1.AddLine2("Speed", xui.Color_Red, 2dip, "CIRCLE", False, xui.Color_Red)
DynamicLines1.AddLine2("Direction", xui.Color_Blue, 2dip, "SQUARE", True, xui.Color_Blue)
'set one dummy point
DynamicLines1.AddLineMultiplePoints("", Array As Double(0, 1), False)
'draw the empty chart
DynamicLines1.DrawChart