Group: Forum Members
Last Active: 11 Years Ago
Posts: 20,
Visits: 1
|
Hi,
I was looking at your example "Grid surface - Fill style" and found that the data to paint the grid is taken from a file called DataY.bin
Is it possible to know what this file contents? Is it possible to load the data for this surface by using a txt file?
Thanks
IM
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Ignacio, The "DataY.bin" file contains an array of float values stored in a binary form. You can take a look at the FillData method in class NGridFillStyleUC - this is the code that actually reads the values from the file and loads them into the surface series. Of course the data can be stored in any form (including text file), but you have to write some custom code to read the values and pass them to the chart.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 11 Years Ago
Posts: 20,
Visits: 1
|
hi, I now would need to know the contents of routine ApplyLayoutTemplate if possible. Also, is there anyway to set the colors to use depending on the values represented? Say I would like to display a different color for high values than the used in the experiment, could I do it? Thanks, IM
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hello, The source code of the ApplyLayoutTemplate method can be found in the source file (both cs and vb) that contains the NExampleBaseUC class. As for the colors - The surface series supports automatic coloring depending on the data point elevation. The rest of the series do not do this automatically, but you can assign individual colors per data point.
Best Regards, Nevron Support Team
|