Jump to content
Software FX Community

Cant get time display on axisX


User (Legacy)

Recommended Posts

Posted

Hi

I would like to display each hour of the day on the x axis. I am using a

stacked bar chart. Here is my code:

chart1.AxisX.LabelsFormat.Format = SoftwareFX.ChartFX.AxisFormat.Time;

chart1.AxisX.Min = 0;

chart1.AxisX.Max = 1;

chart1.AxisX.Step = 1/24;

chart1.AxisX.Font=new System.Drawing.Font("Tahoma",10);

chart1.AxisX.LabelAngle = 90;

It just displays 12am down the xaxis. What I need is every hour of the day

starting with 12:am

Thanks

Archived

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

×
×
  • Create New...