Surface Chart and Contour Chart Issues
Posted: Mon May 09, 2016 5:06 am
I have two forms in my solution named WindowsFormsApplication1.
If you open up a solution and run it, you will be able to see a basic Surface Chart without data.
There are two buttons called 'button1' and 'button2' which adds data to the Surface Chat.
Under two situations, TeeChart works differently even though the two situations are essentially the same.
1st situation
I click button1 when an application starts. I will see a curved chart. Then, I press button2. I will see a flat chart. It works the way it is supposed to work.
2nd situation
I click button2 when an application starts. I will see a flat chart that is a little different from 1st situation regarding color. Then, I press button2. I will see a curved chart that is somehow distorted.
It does not work the way it is supposed to work.
I would like to know why this is happening.
*Note
Whenever a button is pressed, I call Clear Fuction for Surface Chart and then load data into the Surface Chart.
If you open modify Program.cs to run Form 2, you will be able to see a Contour Chart.
Currently, I set UpToValue to 364.2261. When I change UpToValue to 364.226, it does not color the region anymore.
I am afraid that this situation might manifest under other values. That is why I would like you to investigate this issue further as soon as possible.
Thank you for your cooperation.
I would like to hear from you as soon as possible.
You can download the project here.
https://www.dropbox.com/s/8j2pm3lfydrrr ... 1.zip?dl=0
If you open up a solution and run it, you will be able to see a basic Surface Chart without data.
There are two buttons called 'button1' and 'button2' which adds data to the Surface Chat.
Under two situations, TeeChart works differently even though the two situations are essentially the same.
1st situation
I click button1 when an application starts. I will see a curved chart. Then, I press button2. I will see a flat chart. It works the way it is supposed to work.
2nd situation
I click button2 when an application starts. I will see a flat chart that is a little different from 1st situation regarding color. Then, I press button2. I will see a curved chart that is somehow distorted.
It does not work the way it is supposed to work.
I would like to know why this is happening.
*Note
Whenever a button is pressed, I call Clear Fuction for Surface Chart and then load data into the Surface Chart.
If you open modify Program.cs to run Form 2, you will be able to see a Contour Chart.
Currently, I set UpToValue to 364.2261. When I change UpToValue to 364.226, it does not color the region anymore.
I am afraid that this situation might manifest under other values. That is why I would like you to investigate this issue further as soon as possible.
Thank you for your cooperation.
I would like to hear from you as soon as possible.
You can download the project here.
https://www.dropbox.com/s/8j2pm3lfydrrr ... 1.zip?dl=0