W.D Posted April 22, 2008 Report Share Posted April 22, 2008 Hi, I'm working a Gantt chart. But i found the AxisX (Left line) is invisible. Even I try to set value for AxisX's Line.Color, Line.Style, Line.Width, it's actually set these values to AxisY (Bottom line). It's very strange. Could you please help? Chart1.AxesStyle=SoftwareFX.ChartFX.AxesStyle.Math; Chart1.Gallery = SoftwareFX.ChartFX.Gallery.Gantt; Chart1.AxisX.Line.Style=System.Drawing.Drawing2D.DashStyle.Solid; Chart1.AxisX.Line.Color=Color.Black; Chart1.AxisX.Line.Width=5; Chart1.PointLabels=true; Chart1.Scrollable= false; Chart1.OpenData(SoftwareFX.ChartFX.COD.Values,2,3); for(int i=0;i<3;i++) { Chart1.Legend=...; Chart1.Value[0,i] = ...; Chart1.Value[1,i] = ...; Chart1.Point[0,i].Color=Color.Black; Chart1.Point[1,i].Color=Color.Red; } Chart1.CloseData(SoftwareFX.ChartFX.COD.Values); Chart1.AxisY.LabelsFormat.Decimals=1; Chart1.RecalcScale(); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.