How to remove space between WPF Toolkit chart area and plot area?

后端 未结 2 1195
再見小時候
再見小時候 2021-02-13 20:45

I am using chartingToolKit:Chart control. I want to remove the white space appear in between the chart and plot area. Attached the WPF sample and image of area to be removed.

2条回答
  •  走了就别回头了
    2021-02-13 21:25

    To give you a little more space without re-templating the control, set the Margin (as you did) and Padding of the chart control to zero.

    Margin="0" Padding="0"
    

提交回复
热议问题