Hello!
With this segment of code program hanged forever. But if use for tChart.Height another value than 63 it works.
The problem is in method Steema.TeeChart.WPF.Axis.InternalCalcLabelsIncrement() - there is some infinite cycle.
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
TChart tChart = new TChart();
Points points = new Points();
tChart.Axes.Left.AutomaticMaximum = false;
tChart.Axes.Left.AutomaticMinimum = false;
tChart.Axes.Left.Logarithmic = true;
tChart.Axes.Left.Maximum = 100;
tChart.Axes.Left.Minimum = 10;
tChart.Series.Add(points);
tChart.Width = 300;
tChart.Height = 63;
Content = tChart;
}
}
WPF TChart program hang
Re: WPF TChart program hang
Hello neurosoft,
Using next code Xaml:
And next code:
It works as expected to us with last version of TeeChartWPF . Please, could you check again if previous code works for you? And also, you can tell us which version of TeeChartWPF are you using?
Thanks,
Using next code Xaml:
Code: Select all
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300"
xmlns:my="clr-namespace:Steema.TeeChart.WPF;assembly=TeeChart.WPF">
<Grid>
<my:TChart Margin="0,0,0,0" Name="tChart1" />
</Grid>
</Window>
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Points points = new Points();
tChart1.Axes.Left.AutomaticMaximum = false;
tChart1.Axes.Left.AutomaticMinimum = false;
tChart1.Axes.Left.Logarithmic = true;
tChart1.Axes.Left.Maximum = 100;
tChart1.Axes.Left.Minimum = 10;
tChart1.Series.Add(points);
tChart1.Width = 300;
tChart1.Height = 63;
}
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: WPF TChart program hang
Hello!
I am using version TChart 2010 version 4.0.2011.2083, Visual Studio 2010 SP1
Here is source code (you need only chage ref of TChart to your folder)
I am using version TChart 2010 version 4.0.2011.2083, Visual Studio 2010 SP1
Here is source code (you need only chage ref of TChart to your folder)
Re: WPF TChart program hang
Hello neurosoft,
I could reproduce your problem using last version 4.0.2011.2083 of TeeChartWPF but not with source code, so it will be solved in next version of TeeChart.Net. I recommend you to be aware at this forum, our RSS news feed, Steema Software's twitter or facebook accounts for new release announcements and what's implemented on them.
Thanks,
I could reproduce your problem using last version 4.0.2011.2083 of TeeChartWPF but not with source code, so it will be solved in next version of TeeChart.Net. I recommend you to be aware at this forum, our RSS news feed, Steema Software's twitter or facebook accounts for new release announcements and what's implemented on them.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: WPF TChart program hang
Hello!
I have loaded latest TChart version 4.1.2011.4193 from 19.04.2011, but this problem remained. Please check it!
I have loaded latest TChart version 4.1.2011.4193 from 19.04.2011, but this problem remained. Please check it!
Re: WPF TChart program hang
Hello neurosoft,
You are right. I have added your request in bug list with number [TW16015529]. We will try to fix it in next versions of TeeChart.Net.
Thanks,
You are right. I have added your request in bug list with number [TW16015529]. We will try to fix it in next versions of TeeChart.Net.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |