User (Legacy) Posted June 23, 2005 Report Posted June 23, 2005 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
Software FX Posted June 24, 2005 Report Posted June 24, 2005 Add: AxisX.LabelValue = 1/24; AxisX.Step = 1; This will tell Chart FX that the actual value of ONE unit is One Hour. -- Francisco Padron www.chartfx.com
Recommended Posts
Archived
This topic is now archived and is closed to further replies.