Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1730
Axes title not coming
posted

Hi,

I am rendering multiple charts in a loop. Chart isrendering properly one below the other, but the TITLE is not coming.

 @(Html.Infragistics().DataChart()
                    .Height("150px")

                    .Width("900px")
                    .BottomMargin(10)
                    .TopMargin(10)
                    .VerticalZoomable(true)
                    .HorizontalZoomable(true)
                    .Axes((axes) =>
                    {
                        axes.NumericX("xAxis");
                        axes.NumericY("yAxis");
                    })
                    .Series(series =>
                    {
                        series.Scatter("scatterSeries" + j.ToString(), dataSeriesCollection[j].AsQueryable())
                            .XAxis("xAxis").YAxis("yAxis")
                            .XMemberPath(dataPoint => dataPoint.X)
                            .YMemberPath(dataPoint => dataPoint.Y)
                            .Title("Series Title");

                        series.Scatter("scatterSeries" + (j + 1).ToString(), dataSeriesCollection[j + 1].AsQueryable())
                            .XAxis("xAxis").YAxis("yAxis")
                            .XMemberPath(dataPoint => dataPoint.X)
                            .YMemberPath(dataPoint => dataPoint.Y)
                            .Title("Series Title");
                       
                    })
                    .DataBind()
                    .Render()
                )

 Is there any additional settings that needs to be done ??

Also is there any way to set Chart Title ??