Ejemplo n.º 1
0
 /// <summary>
 /// Sets the markers shape type.
 /// </summary>
 /// <param name="type">The markers shape type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .Series(series => series
 ///               .Line(s => s.Sales)
 ///               .Markers(markers => markers
 ///                   .Type(ChartMarkerShape.Triangle)
 ///               );
 ///            )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public ChartMarkersBuilder Type(ChartMarkerShape type)
 {
     lineMarkers.Type = type;
     return(this);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sets the markers shape type.
 /// </summary>
 /// <param name="type">The markers shape type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Telerik().Chart()
 ///           .Name("Chart")
 ///           .Series(series => series
 ///               .Line(s => s.Sales)
 ///               .Markers(markers => markers
 ///                   .Type(ChartMarkerShape.Triangle)
 ///               );
 ///            )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>        
 public ChartMarkersBuilder Type(ChartMarkerShape type)
 {
     lineMarkers.Type = type;
     return this;
 }