Teechart editor WPF - How to
Posted: Mon Oct 11, 2010 8:28 am
Hi,
Is there any way to show the teechart editor in WPF.
I use the following code in the code behind but nothing append
Dim ed As New Steema.TeeChart.Editor
ed.ShowModal()
The teechart object is embbedded in a UserControl (not a window)
<UserControl x:Class="GraphView" Height="Auto" Width="Auto"
xmlns:vw="clr-namespace:LEPQVIEW.Views"
xmlns:vm="clr-namespace:LEPQVIEW.ViewModels;assembly=LEPQVIEW.ViewModels"
xmlns="http://schemas.microsoft.com/winfx/2006 ... esentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:AChart="clr-namespace:Steema.TeeChart.WPF;assembly=TeeChart.WPF"
<Grid>
<AChart:TChart Name="AChart" Grid.Row="1" Height="Auto" Width="Auto" Margin="10,0,10,0"></AChart:TChart>
</Grid>
</UserControl>
As we work in MVVM environment, programming all the properties would be a huge unvalued work.
Thanks for your response.
Kind regards.
Is there any way to show the teechart editor in WPF.
I use the following code in the code behind but nothing append
Dim ed As New Steema.TeeChart.Editor
ed.ShowModal()
The teechart object is embbedded in a UserControl (not a window)
<UserControl x:Class="GraphView" Height="Auto" Width="Auto"
xmlns:vw="clr-namespace:LEPQVIEW.Views"
xmlns:vm="clr-namespace:LEPQVIEW.ViewModels;assembly=LEPQVIEW.ViewModels"
xmlns="http://schemas.microsoft.com/winfx/2006 ... esentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:AChart="clr-namespace:Steema.TeeChart.WPF;assembly=TeeChart.WPF"
<Grid>
<AChart:TChart Name="AChart" Grid.Row="1" Height="Auto" Width="Auto" Margin="10,0,10,0"></AChart:TChart>
</Grid>
</UserControl>
As we work in MVVM environment, programming all the properties would be a huge unvalued work.
Thanks for your response.
Kind regards.