Custom axes plot overlapping issue
Posted: Fri Dec 23, 2011 9:22 am
Hi,
I am using Teechart for plotting frequency and time response. For frequency response there are 3 options: Gain response, Phase response and Group response. All these are placed in one chart. These uses custom axes.
With gain axes, user can set the custom frequency and gain values. So we have to set the maximum and minimum for bottom frequency axis and left gain axis based on the user provided options. I have done this by using
tchart1.axes.Left.automaticMaximum = false;
tchart1.axes.Left.automaticMinimum = false;
then maximum and minimum values are set for Left axes based on the custom input. Similar setting was done for Bottom frequency axes.
I found that this works when only gain axes is chosen for display. When we chose to display all the 3 frequency response options, then the graphs overlap. Please note that we are setting custom maximum and minimum only for gain axes.
Please any one help me to resolve this issue as soon as possible.
I have attached two images. One with only gain axes (GainPlot.JPG) and another with all 3 axes.
I am using Teechart for plotting frequency and time response. For frequency response there are 3 options: Gain response, Phase response and Group response. All these are placed in one chart. These uses custom axes.
With gain axes, user can set the custom frequency and gain values. So we have to set the maximum and minimum for bottom frequency axis and left gain axis based on the user provided options. I have done this by using
tchart1.axes.Left.automaticMaximum = false;
tchart1.axes.Left.automaticMinimum = false;
then maximum and minimum values are set for Left axes based on the custom input. Similar setting was done for Bottom frequency axes.
I found that this works when only gain axes is chosen for display. When we chose to display all the 3 frequency response options, then the graphs overlap. Please note that we are setting custom maximum and minimum only for gain axes.
Please any one help me to resolve this issue as soon as possible.
I have attached two images. One with only gain axes (GainPlot.JPG) and another with all 3 axes.