/// <summary> /// Sets the axis title position. /// </summary> /// <param name="position">The axis title position.</param> /// <example> /// <code lang="CS"> /// <% Html.Kendo().Chart() /// .Name("Chart") /// .CategoryAxis(axis => axis /// .Title(title => title /// .Position(ChartTitlePosition.Center) /// ); /// ) /// .Render(); /// %> /// </code> /// </example> public ChartAxisTitleBuilder Position(ChartAxisTitlePosition position) { title.Position = position; return(this); }
/// <summary> /// Sets the axis title position. /// </summary> /// <param name="position">The axis title position.</param> /// <example> /// <code lang="CS"> /// <% Html.Kendo().Chart() /// .Name("Chart") /// .CategoryAxis(axis => axis /// .Title(title => title /// .Position(ChartTitlePosition.Center) /// ); /// ) /// .Render(); /// %> /// </code> /// </example> public ChartAxisTitleBuilder Position(ChartAxisTitlePosition position) { title.Position = position; return this; }