Hi Victor,
Thanks for using Syncfusion products.
1) Could Syncfusion provides me a solution for showing values in a tiny sections without the overlapping using StackingColumn?
We suggest you to use different text orientation values for chart series to avoid the overlapped issue in tiny section of the chart series. Please refer the below code snippet to achieve this,
[C#]
this.ChartWebControl1.Series[0].Style.TextOrientation = ChartTextOrientation.RegionCenter;
this.ChartWebControl1.Series[1].Style.TextOrientation = ChartTextOrientation.Right;
this.ChartWebControl1.Series[2].Style.TextOrientation = ChartTextOrientation.Center;
this.ChartWebControl1.Series[3].Style.TextOrientation = ChartTextOrientation.Left;
this.ChartWebControl1.Series[4].Style.TextOrientation = ChartTextOrientation.Center;
2) is if the corresponding datatable to the graphic sends me a zero, this one appears in the graphic and i don't want that.
If your intension is to remove the zero value point from chart series, you can use “RemoveAt()” method to remove the zero value points. Please refer the below code snippet to achieve this,
[C#]
for (int i = 0; i < this.ChartWebControl1.Series.Count; i++)
{
for (int j = this.ChartWebControl1.Series[i].Points.Count-1; j > 0; j--)
{
double d = this. ChartWebControl1.Series[i].Points[j].YValues[0];
if (this. ChartWebControl1.Series[i].Points[j].YValues[0] == 0)
{
this. ChartWebControl1.Series[i].Points.RemoveAt(j);
}
}
}
Note: Refer the attached screenshot for these queries.
Please let us know if you have any concern.
Regards,
Vijayabharathi
SShot_9ae8b8f9.zip