Group: Forum Members
Last Active: 10 Years Ago
Posts: 3,
Visits: 1
|
We have geometric data that we'd like to plot on a 2D Cartesian line chart. It is crucial that the scaling of the X and Y axis match and/or are controllable. That is, 1 unit in X should be the same length as 1 unit (or otherwise specified number of units) in Y. The only way I have been able to achieve this is by setting the ranges for the X and Y axis, setting the width and height of the NChart to the same ratio as X range to Y range and setting the Fit2DAxisContent property to false. While this makes the plot area the right size (aspect ratio), the labels and titles of the axes can be outside the content area. When Fit2DAxisContent is true, the labels and axes are inside the content area, but the plot area gets the wrong aspect ratio. I really need the plot area the right aspect ratio AND the labels and titles within the content area.
Please help me solve this problem.
Thanks....
|