/// <summary> /// Initializes a new instance of the <see cref="ChartPolarAreaLine" /> class. /// </summary> public ChartPolarAreaLine(int width, string color, ChartDashType dashType, bool visible, ChartPolarAreaStyle style) : base(width, color, dashType, visible) { this.Style = style; }
/// <summary> /// Configures the line style for polar area series. /// </summary> /// <param name="style">The style. The default is normal.</param> /// <example> /// <code lang="CS"> /// <%= Html.Kendo().Chart() /// .Name("Chart") /// .Series(series => series /// .PolarArea(s => s.Sales) /// .Line(line => line.Style(ChartPolarAreaStyle.Smooth)) /// ) /// %> /// </code> /// </example> public ChartPolarAreaLineBuilder Style(ChartPolarAreaStyle style) { line.Style = style; return(this); }
/// <summary> /// Configures the polar area chart line. /// </summary> /// <param name="width">The line width.</param> /// <param name="color">The line color.</param> /// <param name="dashType">The line dashType.</param> /// <param name="style">The line style.</param> /// <example> /// <code lang="CS"> /// <% Html.Kendo().Chart() /// .Name("Chart") /// .Series(series => series /// .PolarArea(s => s.Sales) /// .Line(2, "red", ChartDashType.Dot, ChartPolarAreaStyle.Smooth) /// ) /// .Render(); /// %> /// </code> /// </example> public ChartPolarAreaSeriesBuilder <T> Line(int width, string color, ChartDashType dashType, ChartPolarAreaStyle style) { Series.Line.Width = width; Series.Line.Color = color; Series.Line.DashType = dashType; Series.Line.Style = style; return(this); }
/// <summary> /// Configures the line style for polar area series. /// </summary> /// <param name="style">The style. The default is normal.</param> /// <example> /// <code lang="CS"> /// <%= Html.Kendo().Chart() /// .Name("Chart") /// .Series(series => series /// .PolarArea(s => s.Sales) /// .Line(line => line.Style(ChartPolarAreaStyle.Smooth)) /// ) /// %> /// </code> /// </example> public ChartPolarAreaLineBuilder Style(ChartPolarAreaStyle style) { line.Style = style; return this; }