mhowes Posted September 25, 2007 Report Share Posted September 25, 2007 My Y axis title is displaying over the top of the tickmark/gridline labels. I didn't make many changes from the standard settings. any ideas as to how to get the text to overlap? thanks mike Quote Link to comment Share on other sites More sharing options...
Frank Posted September 25, 2007 Report Share Posted September 25, 2007 Can you please attach a screenshot as well as the code that produced it? Quote Link to comment Share on other sites More sharing options...
mhowes Posted September 26, 2007 Author Report Share Posted September 26, 2007 file:///C:/DOCUME%7E1/mhowes/LOCALS%7E1/Temp/moz-screenshot.jpg I've attached the screen shot This is the way the chart looks when I first start adding points. After about 20 seconds and roughly 20 points both axis redrawing because I have AutoScale set to true the Y axis will fix itself and the text will be properly to the left of the scale labels. Hmmm...hard to send the code since it's part of a gigantic project here is the code that I use to setup the chart this.chartFx.AllSeries.MarkerSize = 0; this.chartFx.AxisY.LabelsFormat.Decimals = 2; this.chartFx.AxisY.LabelsFormat.Format = AxisFormat.Number; this.chartFx.AxisX.LabelsFormat.Format = AxisFormat.Number; this.chartFx.Zoom = true; chartFx.AxisX.Title.Text = "Time (sec)"; chartFx.AxisY.Title.Text = "Binding (nm)"; chartFx.LegendBox.Visible = false; chartFx.AxisX.AutoScale = true; chartFx.AxisY.AutoScale = true; chartFx.Gallery = Gallery.Lines; chartFx.AllSeries.MarkerStep = 10; thanks mike Quote Link to comment Share on other sites More sharing options...
Frank Posted October 2, 2007 Report Share Posted October 2, 2007 I pasted your code in the Form_Load of a brand new form with a default chart in it and did not get the overlapping title. Please make sure you are using the latest service pack. If the problem still shows in the latest service pack, please attach a complete sample application that reproduces the problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.