Let column charts overlap in Chart Control

前端 未结 2 1581
遥遥无期
遥遥无期 2021-01-21 15:00

I have following issue: I need to show multiple columns in a chart control (about seven series in one chart area). Now when I have a chart of type \"Column\" all seven columns g

2条回答
  •  猫巷女王i
    2021-01-21 15:11

    Column Series has a CustomProperties named DrawSideBySide, set it to False will result columns drawing overlap.

    series1.CustomProperties = "DrawSideBySide=False";
    

    It can also be set in IDE, by going to Properties window, Series Collection Editor, then find CustomProperties, DrawSideBySide.

提交回复
热议问题