Hi!
I have problem in runtime autoserie.
Can you help me?
Follow example.
#region Problem
StiChart chartLine = new StiChart();
chartLine.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(0, 0, 13.2, 5.2);
chartLine.Name = "ChartLine1";
chartLine.Legend.Visible = false;
chartLine.Title.Visible = true;
chartLine.Title.Text = "Problem";
StiLineSeries serie = new Stimulsoft.Report.Chart.StiLineSeries();
serie.ArgumentDataColumn = "ChartMeses.Mes";
serie.AutoSeriesKeyDataColumn = "ChartMeses.Mes";
serie.AutoSeriesColorDataColumn = "ChartMeses.ConditionColor";
serie.ValueDataColumn = "ChartMeses.Qtd";
serie.ShowShadow = false;
serie.ShowSeriesLabels = StiShowSeriesLabels.FromSeries;
chartLine.Series.Add(serie);
report.Pages[0].Components.Add(chartLine);
#endregion
#region example - Correct
chartLine = new StiChart();
chartLine.ClientRectangle = new Stimulsoft.Base.Drawing.RectangleD(0, 6, 13.2, 5.2);
chartLine.Name = "ChartLine2";
chartLine.Legend.Visible = false;
chartLine.Title.Visible = true;
chartLine.Title.Text = "Correct";
serie = new Stimulsoft.Report.Chart.StiLineSeries();
serie.ListOfArguments.Value = "Jan;Fev;Mar;Abr;Mai;Jun;Jul;Ago;Set;Out;Nov;Dez";
serie.ListOfValues.Value = "0;4;5;1;0;0;3;0;4;0;0;2";
serie.ShowShadow = false;
serie.ShowSeriesLabels = StiShowSeriesLabels.FromSeries;
chartLine.Series.Add(serie);
report.Pages[0].Components.Add(chartLine);
#endregion
Problem AutoSerie runtime
-
- Posts: 21
- Joined: Tue Nov 22, 2016 2:15 pm
Re: Problem AutoSerie runtime
Hello.
Sorry, we can't reproduce the issue without your test data.
Why do you need to use the AutoSeriesKeyDataColumn?
We see that you use the same value for the ArgumentDataColumn and AutoSeriesKeyDataColumn.
In this case a new series will be created for each argument value.
Thank you.
Sorry, we can't reproduce the issue without your test data.
Why do you need to use the AutoSeriesKeyDataColumn?
We see that you use the same value for the ArgumentDataColumn and AutoSeriesKeyDataColumn.
In this case a new series will be created for each argument value.
Thank you.
-
- Posts: 21
- Joined: Tue Nov 22, 2016 2:15 pm
Re: Problem AutoSerie runtime
Hi!
My data is dynamic with defined colors.
Sorry! I changed the AutoSeriesKeyDataColumn field and it worked.
Thank you.
My data is dynamic with defined colors.
Sorry! I changed the AutoSeriesKeyDataColumn field and it worked.
Thank you.
Re: Problem AutoSerie runtime
Hello.
Great!
Let us know if you need our help.
Thank you.
Great!
Let us know if you need our help.
Thank you.