Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1406

Summary: Specific Cast error to run the DemoProjectWPF
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: WPFAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED WORKSFORME    
Severity: normal CC: chris, nagai
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://teechart.net/directline/viewtopic.php?f=6&t=1059#p5160
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2016-01-15 11:36:24 EST
Specific Cast error to run the DemoProjectWPF. To reproduce the problem you need only run the DemoProjectWPF under any Visual Studio.
Comment 1 Shinobu Nagai 2016-01-25 23:55:36 EST
*** Bug 1414 has been marked as a duplicate of this bug. ***
Comment 2 sandra pazos 2016-02-29 08:33:46 EST
The problem is caused for the FlatTheme, so, if theme is changed to Opera the Specific Cast error disappear. 
To check the problem, please change the line code below: 
  private void InitializeChart()
    {
      toolsDemos = new ToolsGalleryDemos(tChart1, typeof(FlatTheme), tChart1.Children);
...
To next line code
private void InitializeChart()
    {
      toolsDemos = new ToolsGalleryDemos(tChart1, typeof(OperaTheme), tChart1.Children);
...