Hi,
I want the background in chart area clear. Now, its showing gridlines there.
xaml -
<
igChart:XamWebChart x:Name="ValuationChart" Margin="10">
</igChart:XamWebChart>
xmal.cs -
ValuationChart.Series.Clear();
for (int rowcnt = 0; rowcnt < lstChart.Count; rowcnt++)
{
if (lstChart[rowcnt].ToList().Count > 1)
string strSeriesTitle = "";
Series series1 = new Series();
series1.ChartType =
ChartType.Line;
for (int lstcnt = 0; lstcnt < lstChart[rowcnt].Count; lstcnt++)
if (strSeriesTitle == "")
strSeriesTitle = lstChart[rowcnt][lstcnt].description;
series1.Label = strSeriesTitle;
break;
}
Marker objMarker = new Marker();
objMarker.Type =
MarkerType.Circle;
objMarker.MarkerSize = 2;
objMarker.Format =
" ";
series1.Marker = objMarker;
series1.DataSource = lstChart[rowcnt].ToList();
series1.DataMapping =
"Value=RatioVal;Label=CompanyName";
series1.DataBind();
ValuationChart.Series.Add(series1);
Does it need the template or anything else?
Thanks in advance.
Hello,
You can try to put this code just below the <XamWebChart> tag:
<igChart:XamWebChart.Axes> <igChart:Axis AxisType="PrimaryX"> <igChart:Axis.MajorGridline> <igChart:GridlineGroup Visibility="Collapsed" /> </igChart:Axis.MajorGridline> </igChart:Axis> <igChart:Axis AxisType="PrimaryY"> <igChart:Axis.MajorGridline> <igChart:GridlineGroup Visibility="Collapsed"/> </igChart:Axis.MajorGridline> </igChart:Axis> </igChart:XamWebChart.Axes>
Best Regards,
Anatoli Iliev
Infragistics