Page 1 of 1

legend scroll bar editor in WPF solution

Posted: Mon May 03, 2010 10:10 am
by 13056035
Hello,

I use this

Code: Select all

Steema.TeeChart.Tools.LegendScrollBar legendScrollBar1; 
For have a scroll legend on my window. And when I try to have the editor of scrollbar like that :

Code: Select all

private void button2_Click(object sender, RoutedEventArgs e)
        {
            Steema.TeeChart.WPF.Editors.Tools.ScrollBarEditor.Edit(legendScrollBar1);
        }
Visual Studio 2008 say to me an error :

Error 1 The type or namespace name 'Tools' does not exist in the namespace 'Steema.TeeChart.WPF.Editors' (are you missing an assembly reference?)

But I added all the reference ?!

Re: legend scroll bar editor in WPF solution

Posted: Mon May 03, 2010 11:21 am
by yeray
Hi ljoli,

I'm afraid that the Editors aren't available in WPF. This has been discussed here:
http://www.teechart.net/support/viewtop ... 66&p=40344

Re: legend scroll bar editor in WPF solution

Posted: Mon May 03, 2010 11:47 am
by 13056035
Ok for that.

But, is it the same thing for the "Show Chart editor" ?

is it works in WPF ?

Code: Select all

tChart1.ShowEditor();

Re: legend scroll bar editor in WPF solution

Posted: Mon May 03, 2010 12:53 pm
by yeray
Hi ljoli,

No, I'm afraid it doesn't.

Re: legend scroll bar editor in WPF solution

Posted: Tue May 04, 2010 7:57 am
by 13056035
Is there a documentation with steema function compatible with the WPF ??

Because the tutorial does not correspond of a solution c# with WPF.
I am use Steema TeeChart for .NET v3 --> 3.5.3188.18562

Thanks

Re: legend scroll bar editor in WPF solution

Posted: Tue May 04, 2010 8:05 am
by narcis
Hi ljoli,

TeeChart.WPF.dll and TeeChart.Silverlight.dll don't include designtime support at the present moment. There's no specific tutorials or documentation for those versions. However they can use almost same functionality as TeeChart.dll for WinForms so you shouldn't have much problem copying examples. If existing documentation and examples is not enough don't hesitate to let us know.