开发者

MSChart: Remove gaps between series

开发者 https://www.devze.com 2023-04-05 01:33 出处:网络
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

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.

!

MSChart: Remove gaps between series


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号