Profile Picture

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

Posted By M B 10 Years Ago

NlineSeries : Start range from 1 instead of 0 using " new...

Author
Message
M B
Posted 10 Years Ago
View Quick Profile
Forum Newbie

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
Last Active: 10 Years Ago
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.





Similar Topics


Reading This Topic