Hi Victor,
Thanks for using Syncfusion product.
1) there's a way to put down the number?
We suggest you to use “TextOrientation” property of series style to display the number within a column. Please refer the below code snippet to achieve this,
[C#]
this.chartControl1.Series[0].Style.TextOrientation = ChartTextOrientation.Down;
You can find more information about these properties in the online documentation link from below
http://help.syncfusion.com/ug_92/User%20Interface/ASP.NET/Chart/Documents/45184textorientation.htm 2) How can I show the sum value from the column stack in the above position in the column?
If your intention is to display the sum value in top of stacking column, we suggest you to use “CustomPoints” feature to display the sum value in top of stacking column. Please refer the below code snippet to achieve this,
[C#]
for (int i = 0; i < 5; i++)
{
ChartCustomPoint cp = new ChartCustomPoint();
double sum = series1.Points[i].YValues[0] + series2.Points[i].YValues[0] + series3.Points[i].YValues[0] + series4.Points[i].YValues[0];
cp.Text = "Sum:" + " " + sum;
cp.CustomType = Syncfusion.Windows.Forms.Chart.ChartCustomPointType.ChartCoordinates;
cp.Alignment = ChartTextOrientation.Up;
cp.XValue = i;
cp.YValue = sum;
cp.Color = Color.Black;
cp.Font.Bold = true;
cp.Font.Facename = "Verdana";
cp.Font.Size = 10F;
this.ChartWebControl1.CustomPoints.Add(cp);
}
You can find more information about these properties in the online documentation link from below
http://help.syncfusion.com/ug_92/User%20Interface/ASP.NET/Chart/Documents/453custompoints.htmPlease refer the attached screenshot for both queries.
Let us know if we misunderstood your query please provide us some clear details or screenshots about your requirement.
Regards,
Vijayabharathi
ScreenShot_ae994df0.zip