Jump to content
Software FX Community

Recommended Posts

Posted

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

Posted

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.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...