How to set size of part of plot control where graph is displayed?

Oystein Bjorke 6 years ago 0
This discussion was imported from CodePlex

funkerkat wrote at 2013-10-15 10:42:

How should i set size of plot without axes? i know properties Size but it modifies the whole control, but i need to set size of paper where graph displayed (without axis etc). I need X-axis width 500 pixels. Or explain me how to calculate what i want from control's size please.

objo wrote at 2013-10-15 15:04:

WPF: you can set the width of the plot control and the margins of the plot area in the plot model. Also set AutoAdjustPlotMargins to false!