Dim x As Integer
    Dim y(100) As TimeSpan
    For x = 1 To frames
        y(x) = time1(x)
        list.Add(x, y(x))
    Next x

what is the solution for this ? is there any other graph or bar chart control in vb.net ? if yes then how to use bar chart in vb.net for timespan axes ? (integer) should be x axes and (Timespan) should be y axes. please help me.

Recommended Answers

All 2 Replies

You say you are using Vb.net but what is your UI technology?

WinForms, WPF, WebForms, MVC etc?

A chartcontrol cannot handle TimeSpans. It can handle seconds, days, minutes months, whatever. So I suggest you feed your chartcontrol with whatever of those values you want from a TimeSpan object.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.