MSChart: Remove gaps between series
I am using MSchart Control to represent data graphically. Could you please assist me with the following problem: I put two series to the chart area but there is an evident gap between them. How can I remove it? Consider an example below. There are two series (orange and purple). I would be glad to remove everything between them so they are placed in a continuous manne开发者_运维技巧r. If it does matter, X-axis is actually time. Thanks in advance.
!
Series class has an IsXValueIndexed property. When you set it to true, the series data points will be plotted according to their order in the series rather than plotting them according to their time values. Be sure to sort the Series so that all data points are in proper order.
精彩评论