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 1075

Summary: an error with Interacting with Charts\JScript-HTML5 Live Charts\JDrillDown.aspx.cs in VS2005
Product: .NET TeeChart Reporter: Shinobu Nagai <nagai>
Component: Examples DemosAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: sandra
Priority: ---    
Version: TeeChart.NET 2014 4.1.2014.12154   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: an error with JDrillDown.aspx.cs

Description Shinobu Nagai 2015-01-07 01:08:21 EST
If running TeeChartForNET sample in VS2005, an error occurs with 
Interacting with Charts\JScript-HTML5 Live Charts\JDrillDown.aspx.cs as shown in the attachment. Please let us know how to avoid the error.
Comment 1 Shinobu Nagai 2015-01-07 01:09:01 EST
Created attachment 378 [details]
an error with JDrillDown.aspx.cs
Comment 2 Shinobu Nagai 2015-01-07 19:10:12 EST
*** Bug 1074 has been marked as a duplicate of this bug. ***
Comment 3 sandra pazos 2015-01-09 11:43:31 EST
Hello Nagai, 
Seems that VS2005 doesn't allow add the items in the StringList is doing in way below: 
Steema.TeeChart.Styles.StringList labels = new Steema.TeeChart.Styles.StringList() {"Fruit","Veg","Meat","Dairy","Frozen"};
To solve it you can add the values using the StringList addMethod as do in next code lines: 
  Steema.TeeChart.Styles.StringList labels = new Steema.TeeChart.Styles.StringList();
            labels.Add("Fruit");
            labels.Add("Veg");
            labels.Add("Meat");
            labels.Add("Dairy");
            labels.Add("Frozen");

We have modified the demo example code because it is compatible for each Visual Studio versions.