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