Jump to content
Software FX Community

Constant Line on a DateTime X-Axis


pre

Recommended Posts

Hello,

I am trying to draw constant vertical lines on a Gantt chart, which has a DateTime X-Axis. I have set the ConstantLine.Value to

DateTime

.Now.ToOADate();

 

ConstantLine fBS= chart.ConstantLines[0];

fBS.Value =

DateTime.Now.ToOADate();fBS.Axis = AxisItem.X;

fBS.Color =

Color.Red;fBS.Text = "test";

fBS.ShowLine =

true;

It does'nt seem to be working as I am not able to see that on my Gantt chart.

Any help would be appreciated.

 

 

 

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...