コード例 #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);
 }
コード例 #2
0
ファイル: ChartAxisTitleBuilder.cs プロジェクト: akhuang/Zing
 /// <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;
 }