X 軸ラベルが MVC4 棒グラフで重なっています。それを修正するための任意のアイデア。前もって感謝します。
@(Html.Kendo().Chart<McAfee.CBRMS.CodeAnalysisReport.BL.Utility.ModuleViewModel>()
.Name("StaticAnalysisOverAllBarGraph")
.DataSource(dataSource => dataSource
.Read(read => read.Action("GetStaticAnalysisOverAllBarGraph", "Home",new { filepath = ViewData["filePath"], jobId = ViewData["jobId"]}))
)
.Series(series => {
series.Column(model => model.CriticalErrors).Name("Critical Errors").Color("DarkRed");
series.Column(model => model.Errors).Name("Errors").Color("Red");
series.Column(model => model.CriticalWarning).Name("Critical Warning").Color("Orange");
series.Column(model => model.Warning).Name("Warnings").Color("Yellow");
})
.ValueAxis(axis => axis.Numeric()
.Labels(labels => labels.Rotation(5)
.Format("{0}")
)
)
.CategoryAxis(axis => axis
.Categories(model => model.Name)
)
.Tooltip(tooltip => tooltip
.Visible(true)
.Format("{0}")
)
)