Jump to content
Software FX Community

Y axis title appearing over the top of the axis labels


Recommended Posts

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;





Link to comment
Share on other sites

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.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...