NlineSeries : Start range from 1 instead of 0 using " new NRangeAxisView(new NRange1DD(1, 30)) "


Author
Message
M B
M B
Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)
Group: Forum Members
Posts: 1, Visits: 6
Hi,
I am trying to fill chart using a List<decimal> like this:
 for (int i =0; i<ListItems.Count; i++)
            {
nl.Values.Add(ListItems[i]);
            nl.XValues.Add(i+1);
}

but the first item always has xvalue = 0, how can I change it to start from 1 to 30?

Best regards,

R. B.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search