Example #1
0
 /// <summary>
 /// Sets the note position.
 /// </summary>
 /// <param name="position">The note position.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .ValueAxis(a => a.Numeric()
 ///               .Note(note => note.Position(ChartNotePosition.Left))
 ///           )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>        
 public ChartNoteBuilder Position(ChartNotePosition? position)
 {
     note.Position = position;
     return this;
 }
 /// <summary>
 /// Sets the note position.
 /// </summary>
 /// <param name="position">The note position.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .ValueAxis(a => a.Numeric()
 ///               .Note(notes => notes.Position(ChartNotePosition.Left))
 ///           )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>        
 public ChartAxisNotesBuilder Position(ChartNotePosition? position)
 {
     Notes.Position = position;
     return this;
 }