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 - Specific Cast error to run the DemoProjectWPF
Summary: Specific Cast error to run the DemoProjectWPF
Status: RESOLVED WORKSFORME
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: WPF (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://teechart.net/directline/viewto...
Keywords:
: 1414 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-15 11:36 EST by sandra pazos
Modified: 2016-05-03 09:37 EDT (History)
2 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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);
...