Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
40
Composite Chart with ScatterChart layer set to GroupByColumn using Series instead of DataSource.
posted

Hello,

Using Infragistics version 14.2.20142.2010.

I have created a CompositeChart.  The CompositeChart has a ChartLayer which consists of a ScatterChart.  I am trying to load a single DataTable which contains data for multiple lines by using the GroupByColumn property of the ScatterChart.

I am unable to get it to work with DataSource so I am using the XYSeries and it appears to load the data fine, it's just not grouping the data into separate lines.  Here is my result (not sure if the image will load but it's basically a graph that zig zags up and down when it should really be two distinct lines, one above the other):

Here is my code (vm.SectionData is a DataTable)

var series = new XYSeries();
series.DataBind(vm.SectionData, "ColumnX", "ColumnY", "GroupName");
ultraChart2.Series.Add(series);
ultraChart2.CompositeChart.ChartLayers[0].Series.Add(series);
var scatter = ultraChart2.CompositeChart.ChartLayers[0].ChartComponent as UltraChart;
scatter.ScatterChart.UseGroupByColumn = true;

I used to do this with the DataSource property on an UltraChart object, but since I switched to the CompositeChart, I cannot get it to work.

What are my options?

Thanks.

  • 21795
    Offline posted

    Hello Shawn,

    I have investigated your issue, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of #186227. So I’ve created a case for you CAS-148222-X8W0L5  and will update you for the progress of this issue via the mentioned case. You could reach your case following the link below:

    https://es.infragistics.com/my-account/support-activity 

    Thank you for using Infragistics Components.