ContourSeries Add Paramters

Aug 7, 2013 at 11:35 AM
Hello !

First, i have to say thank you for this amazing tool that is OxyPlot.

My problem is simple I think, I`m trying to follow a "Contour Series Example" (Peaks Example Actually), and in the code to add parameters is necessary to something like that:

contourSeries.ColumnCoordinates.Add(value); right?

But when I do that, i receive a error message, something about there no Add method in a array[].

So, i tryed to do that (to all parameters ... Column, Row, Levels and Data (in Data I used a Matriz)):

contourSeries.ColumnCoordinates[0] = value;

But still doesnt work, I miss something??
Aug 7, 2013 at 11:49 AM
Edited Aug 7, 2013 at 11:49 AM
First to say: I've never did a similar task (Contour Series). But an array has a fixed size, so you can't add a new items to it. Try with a List instead. Good luck
Aug 7, 2013 at 11:53 AM
Edited Aug 7, 2013 at 11:53 AM
Yes I agree (with the array part), but I assumed the Add method of Contour Series are all ready implemented, because is so how that are showed in the example ....