Scale is not automatically adjusted for Finantial Functions
Posted: Fri Apr 24, 2015 5:28 am
Dear Steema,
We are using some finantial functions of Teechart.NET . while using this we notice that the axis on which the function is ploted doesnt adjust its range automatically if i set it to automatic.This occures when i scale axis other than on which function is plotted. kindly refer follwing code which is of ADX Function.
◦ TeeChart version : 4.1.2015.3111
◦ IDE using : Visual Studio 2008
◦ Programming language : C#
◦ OS running : Windows XP 32 Bit
We are using some finantial functions of Teechart.NET . while using this we notice that the axis on which the function is ploted doesnt adjust its range automatically if i set it to automatic.This occures when i scale axis other than on which function is plotted. kindly refer follwing code which is of ADX Function.
Code: Select all
tChart1.Axes.Bottom.Automatic = true;
tChart1.Axes.Left.Automatic = false ;
Steema.TeeChart.Styles.FastLine tFastLine1 = new Steema.TeeChart.Styles.FastLine();
tFastLine1.VertAxis = VerticalAxis.Left;
Steema.TeeChart.Functions.ADXFunction tADXFunction = new Steema.TeeChart.Functions.ADXFunction();
tADXFunction.Period = Period;
tFastLine1.DataSource = tChart1.Series[(int)Graph.TChartMain_Series.TS_OHLC];
tFastLine1.Function = tADXFunction;
tFastLine1.Title = "ADX";
tFastLine1.Marks.Style = MarksStyles.Value;
tFastLine1.Marks.MultiLine = true;
tChart1.Series.Add(tFastLine1);
◦ TeeChart version : 4.1.2015.3111
◦ IDE using : Visual Studio 2008
◦ Programming language : C#
◦ OS running : Windows XP 32 Bit