dotnetCHARTING Ignores Chart Properties set in Code

Posted on 2009-02-18
Last Modified: 2012-06-27
I am using Version 5.2.3313 which I downloaded for evaluation and is not yet registered.
Platform is Visual Studio 2008, .NET 3.5, Windows Vista Ultimate, C#

When Chart properties are set on the Design Page,  the chart is properly rendered.

Chart properties set in the aspx.cs page are ignored.
I get no error messages.

The chart simply displays No Data

Is this a limitation of the unregistered version ?

DataEngine de = new DataEngine(strStockSelectCon);
        SeriesCollection mySC = de.GetSeries();
        de.StoredProcedure = "usp_getPriceChart";
        de.ConnectionString = strStockSelectCon;
        de.StoredProcedure = "usp_getPriceChart";
        de.AddParameter("@FromDate", "2009-01-05", FieldType.Date);
        de.AddParameter("@ToDate", "2009-02-05", FieldType.Date);
        de.AddParameter("@SymbolID", "100", FieldType.Number);
        Chart1.Series.ConnectionString = strStockSelectCon;
        Chart1.Series.StoredProcedure = "usp_getPriceChart";
        Chart1.Series.AddParameter("@FromDate", "2009-01-05", FieldType.Date);
        Chart1.Series.AddParameter("@ToDate", "2009-02-05", FieldType.Date);
        Chart1.Series.AddParameter("@SymbolID", "100", FieldType.Number);
        Chart1.Visible = true;

Question by:Dovberman
    LVL 15

    Accepted Solution

    I don't know about this particular brand but are you aware that MS now gives away an official charting component? It's based on Dundas charts and is pretty fully featured. See here for more info:

    Sorry I can't help with your specific problem though.

    Author Comment


    I had reviewed MS Charts. It requires upgrading from ASP.NET 3.5 to the 3.5 SP1 and VS2008 to SP1.

    However, it may be worth the effort.


    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on could not pull conte…
    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now