SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

1
0 we want z axis up but when we draw Y axis come up hot to solve this

``````        short[] shortArrayz;
int lengthz;
short[,] shortArray = new short[100, 15];
File.Open("F971-181223-10.MNZ", FileMode.Open)))
{
// 2.
// Position and length variables.
int pos = 0;
// 2A.
// Use BaseStream.

//    pos += sizeof(int);
//  pos += sizeof(int);
lengthz = (int)b.BaseStream.Length;
shortArrayz = new short[lengthz];

//    Console.WriteLine(length);
while (pos < lengthz)
{
// 3.

/*

for (int i = 0; i < 100; i++)
{
for (int j = 0; j < 15; j++)
{

Console.WriteLine(shortArray[i, j]);
}
}
*/

// 4.
pos += sizeof(short);
}
}

//100x15 lik dosya için
int xSize = 15;
int ySize = 100;

var meshDataSeries = new UniformGridDataSeries3D<double>(xSize, ySize)
{
SeriesName = "Uniform Surface Mesh",
};

int h = 0;

for (int x = 0; x <xSize; x++)
for (int y = 0; y < ySize; y++)
{
{
double z =(double) shortArrayz[h];
meshDataSeries[y, x] = z;

h += sizeof(short);
}
}

// Assign the DataSeries to the char
surfaceMeshRenderableSeries.DataSeries =meshDataSeries;
``````

2) In contour graph values is coorect but seems like it is sliced how to solve this?

Codes are attached

• You must to post comments
0
0

Hi there

It is possible to switch between Left Handed and Right Handed coordinates by following these steps here

However, in SciChart3D, in both cases, the Y Axis is always UP.

You can hide the XYZ indicator if you want by setting the property SciChart3DSurface.IsXyzGizmoVisible = false.

Then set YAxis.AxisTitle = “Z Axis” and it will appear to the user as a z-axis.

Best regards,
Andrew

• You must to post comments
Showing 1 result