ContourSeries Add Paramters
This discussion was imported from CodePlex
Artiga wrote at 2013-08-07 13:35:
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??
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??
everytimer wrote at 2013-08-07 13:49:
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
Artiga wrote at 2013-08-07 13:53:
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 ....
Customer support service by UserEcho