Jump to content
Software FX Community

AndreG

Staff
  • Posts

    333
  • Joined

  • Last visited

Posts posted by AndreG

  1. Try this. You won't even need the mappings below if all you have is 1 column for strings and 2 for doubles.

     

    string data = "<?xml version=\"1.0\"?>" +

    "<CHARTFX>" +

    " <COLUMNS>" +

    " <COLUMN NAME=\"Date\" TYPE=\"String\"/>" +

    " <COLUMN NAME=\"Series1\" TYPE=\"Double\"/>" +

    " <COLUMN NAME=\"Series2\" TYPE=\"Double\"/>" +

    " </COLUMNS>" +

    " <ROW Date=\"1/5/2014\" Series1=\"9\" Series2=\"10\"></ROW>" +

    " <ROW Date=\"1/6/2014\" Series1=\"10\" Series2=\"11\"></ROW>" +

    " <ROW Date=\"1/7/2014\" Series1=\"13\" Series2=\"14\" ></ROW>" +

    "</CHARTFX>";

    XmlDataProvider cfxXML = new XmlDataProvider();

    cfxXML.LoadXml(data);

    chart1.DataSourceSettings.Fields.Add(new FieldMap("Date",FieldUsage.Label));

    chart1.DataSourceSettings.Fields.Add(new FieldMap("Series1",FieldUsage.Value));

    chart1.DataSourceSettings.Fields.Add(new FieldMap("Series2",FieldUsage.Value));

    chart1.DataSourceSettings.DataSource = cfxXML; 

  2. You can obtain Chart FX 8 with a current subscription of Studio FX Premium Subscription. If you already have a license of Chart FX 7 all you need to do is renew or upgrade. 

    We keep working on our supported products and we have already released a version of Chart FX 7 that is compatible with Visual Studio 2013. Just like any other updates it is free for anyone with a valid subscription (whether that is a Premium Subscription or just a Support Subscription).

    If you do not have a current subscription your most affordable route would be to procure a Studio FX Support Subscription, for a Chart FX 7 update.

    http://www.softwarefx.com/studiofx/ 

  3. If on a simple .net application the chart displays correctly, then the issue is with your project. You are either doing something not allowed by the license type you have, or the license is somehow not updated on your project. Are you doing anything other than a simple .net application? Have you tried cleaning and rebuilding the project? Also, are you accessing the chart from a client or from localhost?

×
×
  • Create New...