Anonymole Posted June 24, 2011 Report Posted June 24, 2011 Why won't these labels expand? There's plenty of room: Code: chart.AxisX.LabelsFormat.Format = ChartFX.WinForms.AxisFormat.Time; chart.AxisX.LabelsFormat.CustomFormat = "h:mm"; chart.AxisX.Font = new Font("Arial", 7, FontStyle.Italic); chart.AxisX.LabelTrimming = StringTrimming.None; chart.AxisX.Step = 1.0 / 12.0; chart.AxisX.Staggered = true; See image attached http://www.marketmeat.com/images/chat/TruncatedXAxisLabels.jpg Quote
Anonymole Posted June 24, 2011 Author Report Posted June 24, 2011 Nevermind. I ended up abandoning the chart.DataSource = datatable method of data assignment and went to manual assignment of the data and the label text point by point by point. Sad really. Quote
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.