By Steve Marshall - 9 Years Ago
|
Hi, My application is running fine in 99% of cases, but we have one screen/user that insists on running at an awful screen resolution of 1152x864. Most of my graphing elements correctly adjust to this but my 3D Stacked Bar Chart has an issue ... so clearly I have missed something, but I cannot work out what. I am sure it is margins somewhere but as far as I can see I have set the Chart Margins and the Dock Margins. Below is a screen slip showing the issue:
Please advise what I have missed. The Y axis is a correctly formatted Currency, and the top value on this scale for example should be £50,000 when shown in its entirety.
Many thanks, Steve
|
By Nevron Support - 9 Years Ago
|
Hi Steve, Make sure that the chart uses 3D axis fitting:
NCartesianChart chart = (NCartesianChart)nChartControl1.Charts[0]; chart.Fit3DAxisContent = true; chart.BoundsMode = BoundsMode.Fit;
If that does not solve the problem most likely the problem resides in how you configure the chart layout. To verify this enable the content area filling temporarily: chart.BackgroundFillStyle = new NColorFillStyle(Color.Gray);
and check if the gray area goes outside the control bounds. Hope this helps - let us know if the problem persists.
|
By Steve Marshall - 9 Years Ago
|
Hi, It was the first suggestion that solved my issue. I simply added. I enabled the Fit3DAxisContent and set the BoundsMode.
Thanks...... I am wondering if I will ever get my head round where everything is and everything you can do..... :-)
Thanks again, Steve
|