Ok I am sure this is easy, but I do not get it.
I want to add a trend line to my grid. I have the value of my first and last point. How do I put them at the two points I want on the Grid.(frist point and last)
I want to add a trend line to my grid. I have the value of my first and last point. How do I put them at the two points I want on the Grid.(frist point and last)
ChartAxisItem itemFirst = new ChartAxisItem();
itemFirst.Value = Convert.ToDecimal(firstTrendPoint);
ChartSalesTrend.PlotArea.YAxis.Items.Add(itemFirst);
ChartAxisItem itemSecond= new ChartAxisItem();
itemFirst.Value = Convert.ToDecimal(lastTrendPoint);
ChartSalesTrend.PlotArea.YAxis.Items.Add(itemSecond);
I thought this was it, but I was wrong. Thanks in advance for your help