Contour Scaling Issue
Posted: Fri Jun 14, 2013 10:24 am
Hello,
I use the WPF version of TeeChart (4.1.2012.09280 ) and I would like to plot a contour type chart.
I use a regulard grid to fill the chart, and it seems when the property FillLevels is set to true, there is a vertical axis problem.
In fact the value supposed to control the color is virtually added on the chart with the wrong position ( The x position is fine, but the y position gets the z value ) which leads to a scaling problem, everything is compressed to the bottom.
I think there is a bug here, and in order to reproduce it you can simply create a chart with defaults settings, add a contour serie, activate the FillLevels and add something like :
for (int i = 1; i <= 10; i++)
{
for (int y = 1; y <= 10; y++)
{
m_Contour.Add(i, i*y, y);
}
}
Instead of getting the maximum left axis value equals to 10, it is 100.
Maybe this is fixed in the new version from february ?
Thank you
I use the WPF version of TeeChart (4.1.2012.09280 ) and I would like to plot a contour type chart.
I use a regulard grid to fill the chart, and it seems when the property FillLevels is set to true, there is a vertical axis problem.
In fact the value supposed to control the color is virtually added on the chart with the wrong position ( The x position is fine, but the y position gets the z value ) which leads to a scaling problem, everything is compressed to the bottom.
I think there is a bug here, and in order to reproduce it you can simply create a chart with defaults settings, add a contour serie, activate the FillLevels and add something like :
for (int i = 1; i <= 10; i++)
{
for (int y = 1; y <= 10; y++)
{
m_Contour.Add(i, i*y, y);
}
}
Instead of getting the maximum left axis value equals to 10, it is 100.
Maybe this is fixed in the new version from february ?
Thank you