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.
|
Group: Forum Members
Last Active: 2 hours ago
Posts: 3,054,
Visits: 4,009
|
Hi R.B., You simply need to tell the line to use X values: nl.UseXValues = true; otherwise it will automatically assign x values that start from 0.
Best Regards, Nevron Support Team
|