Page 1 of 1

Can't utilize TChart's ChartController in WPF

Posted: Tue Jan 07, 2014 3:28 pm
by 15668197
Hello,

I posted on StackOverflow, but now I finally managed to log in here as a client, so, again...

I am trying to create the toolbar (ChartController) for my TChart in WPF. I see the Forms example, But I can not create the objects needed in WPF.

Code: Select all

    
    private Steema.TeeChart.Commander commander1;
    private Steema.TeeChart.Editor editor1;
    private System.ComponentModel.IContainer components = null;
            ...
Please advise.
Thanks.

Re: Can't utilize TChart's ChartController in WPF

Posted: Tue Jan 07, 2014 4:11 pm
by Christopher
Hello,

Unfortunately the TeeChart.WPF.dll does not contain the Commander class, and the Commander class available in TeeChart.dll is not compatible with the TeeChart classes in TeeChart.WPF.dll.

My best suggestion is that you create your own toolbar from scratch in WPF so that it can emulate, as far as possible, the functionality of the Commander class. Which Commander buttons are most important to you? Some of the functionality is going to be easier to recreate that others.