Hello..
I need to know if i am doing something wrong with the marked zone at radchart.-
But i have a little problem.
If i set the DataLabelsColumn, the Markedzone doesn´t work, but if i comment this line everithing is ok with the markedzone.
The line is this -->RadChart1.PlotArea.XAxis.DataLabelsColumn = "DiasMes";
RadChart1.DataSource = dt;
RadChart1.PlotArea.XAxis.DataLabelsColumn =
"DiasMes";
RadChart1.DataBind();
foreach (ChartSeries oSerie in RadChart1.Series)
{
oSerie.Type =
ChartSeriesType.StackedArea;
oSerie.Appearance.LabelAppearance.Visible =
false;
}
ChartMarkedZone oMZ = new ChartMarkedZone();
oMZ.ValueStartX = 10;
oMZ.ValueEndX = 12;
oMZ.Appearance.FillStyle.MainColor = System.Drawing.
Color.Red;
RadChart1.PlotArea.XAxis.LabelStep = 1;
RadChart1.PlotArea.XAxis.MinValue = 1;
RadChart1.PlotArea.XAxis.MaxValue = MaxDayOfMonth;//int Value
RadChart1.PlotArea.MarkedZones.Add(oMZ);
RadChart1.DataBind();