Jump to content
Software FX Community

TimeSpan databinding

User (Legacy)

Recommended Posts

[CharFx for Windows Forms, v6.2]

I have a DataTable that I am data binding to ChartFx. The DataTable contains

TimeSpan values for the XValue, and an intger value for the YValue. The X

axis lables are set to

chart1.AxisX.LabelsFormat.Format = AxisFormat.DateTime and

chart1.AxisX.LabelsFormat.CustomFormat = "HH:mm:ss"

But the chart does not draw correctly. If I set the X axis to bind to

DateTime datatype all is ok. Does ChartFx support databinding to TimeSpan


Link to comment
Share on other sites


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

  • Create New...