开发者

Fill a ZedGraph curve with different color segments?

Is it possible to fill a line graph (like in the filled curve demo) with dif开发者_StackOverflowferent color segments?


i think u can't do that. but we can use multiple curve to achieve that.

maybe something like :

    LineItem myCurv1 = myPanx.AddCurve("", list1, color1, SymbolType.None);
    LineItem myCurv2 = myPanx.AddCurve("", list2, color2, SymbolType.None);
    LineItem myCurv3 = myPanx.AddCurve("", list3, color3, SymbolType.None);

where the x of each curve is simultan like :

    list1 => (0,1),(1,5),(2,19),(3,9)
    list1 => (3,1),(4,5),(5,19),(6,9)
    list1 => (6,1),(7,5),(8,19),(9,9)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜