HI
thanks for your reply.
our case is we want to draw many segment lines with different colors on the chart, these segment line are not continous so we add double.NaN after each segment line for break. Considering the performance, we classify these segment lines by colors. The segment lines have same color will be gouped and compose one NLineSeries.
We have abstracted the main logic from production code and built a small test program in the attachment and also put the screenshot in it, welcome to your any comments. thank!
xiaolong