示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartLineBase" /> class.
 /// </summary>
 public ChartLineBase(int width, string color, ChartDashType dashType, bool visible)
 {
     Width    = width;
     Color    = color;
     Visible  = visible;
     DashType = dashType;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartLine" /> class.
 /// </summary>
 public ChartLine(int width, string color, ChartDashType dashType, bool visible)
 {
     Width = width;
     Color = color;
     Visible = visible;
     DashType = dashType;
 }
示例#3
0
        /// <summary>
        /// Configures the 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>
        /// <example>
        /// <code lang="CS">
        /// &lt;% Html.Kendo().Chart()
        ///           .Name("Chart")
        ///           .Series(series => series
        ///               .Area(s => s.Sales)
        ///               .Line(2, "red", ChartDashType.Dot)
        ///           )
        ///           .Render();
        /// %&gt;
        /// </code>
        /// </example>
        public ChartAreaSeriesBuilder <T> Line(int width, string color, ChartDashType dashType)
        {
            Series.Line.Width    = width;
            Series.Line.Color    = color;
            Series.Line.DashType = dashType;

            return(this);
        }
示例#4
0
        /// <summary>
        /// Configures the error bars lines.
        /// </summary>
        /// <param name="width">The line width.</param>
        /// <param name="color">The line color.</param>
        /// <param name="dashType">The line dash type.</param>
        /// <example>
        /// <code lang="Razor">
        /// @(Html.Kendo().Chart(Model)
        ///             .Name("chart")
        ///             .Series(series =&gt; series
        ///                 .Bar(s =&gt; s.Sales)
        ///                 .ErrorBars(e =&gt; e.Line(2, &quot;red&quot;, ChartDashType.Dot))
        ///             )
        /// )
        /// </code>
        /// <code lang="ASPX">
        ///  &lt;%= Html.Kendo().Chart(Model)
        ///             .Name("chart")
        ///             .Series(series =&gt; series
        ///                 .Bar(s =&gt; s.Sales)
        ///                 .ErrorBars(e =&gt; e.Line(2, &quot;red&quot;, ChartDashType.Dot))
        ///             )
        /// %&gt;
        /// </code>
        /// </example>
        public TBuilder Line(int width, string color, ChartDashType dashType)
        {
            errorBars.Line.Width    = width;
            errorBars.Line.Color    = color;
            errorBars.Line.DashType = dashType;

            return(this as TBuilder);
        }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartLineBase" /> class.
 /// </summary>
 public ChartLineBase(int width, string color, ChartDashType dashType, int skip, int step, bool visible)
 {
     Width    = width;
     Color    = color;
     Visible  = visible;
     DashType = dashType;
     Skip     = skip;
     Step     = step;
 }
示例#6
0
 private void Initialize()
 {
     Stacked       = false;
     Width         = ChartDefaults.LineSeries.Width;
     Labels        = new ChartPointLabels();
     Markers       = new ChartMarkers();
     MissingValues = ChartDefaults.LineSeries.MissingValues;
     DashType      = ChartDefaults.LineSeries.DashType;
 }
示例#7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartLineBase" /> class.
 /// </summary>
 public ChartLineBase(int width, string color, ChartDashType dashType, int skip, int step, bool visible)
 {
     Width = width;
     Color = color;
     Visible = visible;
     DashType = dashType;
     Skip = skip;
     Step = step;
 }
        /// <summary>
        /// Sets color and width of the lines and enables them.
        /// </summary>
        /// <param name="color">The axis line width</param>
        /// <param name="width">The axis line color (CSS syntax)</param>
        /// <param name="dashType">The axis line dashType.</param>
        /// <example>
        /// <code lang="CS">
        /// &lt;%= Html.Kendo().Chart()
        ///            .Name("Chart")
        ///            .CategoryAxis(axis => axis
        ///                .Categories(s => s.DateString)
        ///                .Line(2, "#f00", ChartDashType.Dot)
        ///            )
        /// %&gt;
        /// </code>
        /// </example>
        public TAxisBuilder Line(int width, string color, ChartDashType dashType)
        {
            Axis.Line.Width    = width;
            Axis.Line.Color    = color;
            Axis.Line.DashType = dashType;
            Axis.Line.Visible  = true;

            return(this as TAxisBuilder);
        }
        /// <summary>
        /// Sets color and width of the minor grid lines and enables them.
        /// </summary>
        /// <param name="color">The minor gridlines width</param>
        /// <param name="width">The minor gridlines color (CSS syntax)</param>
        /// <example>
        /// <code lang="CS">
        /// &lt;%= Html.Kendo().Chart()
        ///            .Name("Chart")
        ///            .CategoryAxis(axis => axis
        ///                .Categories(s => s.DateString)
        ///                .MinorGridLines(2, "red", ChartDashType.Dot)
        ///            )
        /// %&gt;
        /// </code>
        /// </example>
        public TAxisBuilder MinorGridLines(int width, string color, ChartDashType dashType)
        {
            Axis.MinorGridLines.Width    = width;
            Axis.MinorGridLines.Color    = color;
            Axis.MinorGridLines.DashType = dashType;
            Axis.MinorGridLines.Visible  = true;

            return(this as TAxisBuilder);
        }
 /// <summary>
 /// Sets the line dashType.
 /// </summary>
 /// <param name="dashType">The line dashType.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .CategoryAxis(axis => axis.MajorGridLines(lines => lines.DashType(ChartDashType.Dot)))
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public virtual ChartLineBuilderBase DashType(ChartDashType dashType)
 {
     line.DashType = dashType;
     return(this);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartSpacing" /> class.
 /// </summary>
 public ChartElementBorder(int width, string color, ChartDashType dashType)
 {
     Width    = width;
     Color    = color;
     DashType = dashType;
 }
        public ChartNumericAxisBuilder Line(int width, string color, ChartDashType dashType)
        {
            LegacyBuilder.Line(width, color, dashType);

            return(LegacyBuilder);
        }
示例#13
0
 /// <summary>
 /// Sets the ticks dashType
 /// </summary>
 /// <param name="dashType">The ticks dashType.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().LinearGauge()
 ///           .Name("linearGauge")
 ///           .Scale(scale => scale.MajorTicks(ticks => ticks.DashType(ChartDashType.Dot)))
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>        
 public GaugeScaleTicksBuilder DashType(ChartDashType dashType)
 {
     ticks.DashType = dashType;
     return this;
 }
示例#14
0
        /// <summary>
        /// Sets the pie segments border
        /// </summary>
        /// <param name="width">The pie segments border width.</param>
        /// <param name="color">The pie segments border color (CSS syntax).</param>
        /// <param name="dashType">The pie segments border dash type.</param>
        /// <example>
        /// <code lang="CS">
        /// &lt;% Html.Kendo().Chart()
        ///           .Name("Chart")
        ///           .Series(series => series.Pie(s => s.Sales, s => s.DateString).Border(1, "#000", ChartDashType.Dot))
        ///           .Render();
        /// %&gt;
        /// </code>
        /// </example>
        public ChartPieSeriesBuilder <T> Border(int width, string color, ChartDashType dashType)
        {
            Series.Border = new ChartElementBorder(width, color, dashType);

            return(this);
        }
 /// <summary>
 /// Sets the track border.
 /// </summary>
 /// <param name="width">The pointer border width.</param>
 /// <param name="color">The pointer border color.</param>
 /// <param name="dashType">The pointer dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().LinearGauge()
 ///           .Name("linearGauge")
 ///           .Pointer(pointer => pointer
 ///               .Track(track => track.Border(1, "#000", ChartDashType.Dot))
 ///           )         
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public GaugeLinearTrackBuilder Border(int width, string color, ChartDashType dashType)
 {
     track.Border = new ChartElementBorder(width, color, dashType);
     return this;
 }
示例#16
0
 /// <summary>
 /// Sets the labels border
 /// </summary>
 /// <param name="width">The labels border width.</param>
 /// <param name="color">The labels border color (CSS syntax).</param>
 /// <param name="dashType">The labels border dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .Series(series => series
 ///                .Bar(s => s.Sales)
 ///                .Labels(labels => labels
 ///                     .Border(1, "Red", ChartDashType.Dot)
 ///                     .Visible(true);
 ///                );
 ///           )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public TBuilder Border(int width, string color, ChartDashType dashType)
 {
     labels.Border = new ChartElementBorder(width, color, dashType);
     return(this as TBuilder);
 }
示例#17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartLine" /> class.
 /// </summary>
 public ChartLine(int width, string color, ChartDashType dashType, bool visible)
     : base(width, color, dashType, visible)
 {
 }
示例#18
0
        /// <summary>
        /// Sets the bars border
        /// </summary>
        /// <param name="width">The bars border width.</param>
        /// <param name="color">The bars border color (CSS syntax).</param>
        /// <param name="dashType">The bars border dash type.</param>
        /// <example>
        /// <code lang="CS">
        /// &lt;% Html.Kendo().Chart()
        ///            .Name("Chart")
        ///            .Series(series => series.Bar(s => s.Sales).Border("1", "#000", ChartDashType.Dot))
        ///            .Render();
        /// %&gt;
        /// </code>
        /// </example>
        public TSeriesBuilder Border(int width, string color, ChartDashType dashType)
        {
            Series.Border = new ChartElementBorder(width, color, dashType);

            return((TSeriesBuilder)this);
        }
示例#19
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartElementBorder" /> class.
 /// </summary>
 public ChartElementBorder(int? width, string color, ChartDashType? dashType)
 {
     Width = width;
     Color = color;
     DashType = dashType;
 }
示例#20
0
 /// <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;
 }
示例#21
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ChartPolarAreaLine" /> class.
 /// </summary>
 public ChartPolarAreaLine(int width, string color, ChartDashType dashType, bool visible)
     : base(width, color, dashType, visible)
 {
 }
示例#22
0
        /// <summary>
        /// Sets the line chart line dash type.
        /// </summary>
        /// <param name="dashType">The line dash type.</param>
        /// <example>
        /// <code lang="CS">
        /// &lt;% Html.Kendo().Chart()
        ///           .Name("Chart")
        ///           .Series(series => series.Line(s => s.Sales).DashType(ChartDashType.Dot))
        ///           .Render();
        /// %&gt;
        /// </code>
        /// </example>
        public TSeriesBuilder DashType(ChartDashType dashType)
        {
            Series.DashType = dashType;

            return((TSeriesBuilder)this);
        }
示例#23
0
 /// <summary>
 /// Sets the track border.
 /// </summary>
 /// <param name="width">The pointer border width.</param>
 /// <param name="color">The pointer border color.</param>
 /// <param name="dashType">The pointer dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().LinearGauge()
 ///           .Name("linearGauge")
 ///           .Pointer(pointer => pointer
 ///               .Track(track => track.Border(1, "#000", ChartDashType.Dot))
 ///           )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public GaugeLinearTrackBuilder Border(int width, string color, ChartDashType dashType)
 {
     track.Border = new ChartElementBorder(width, color, dashType);
     return(this);
 }
示例#24
0
 /// <summary>
 /// Sets the border dashType.
 /// </summary>
 /// <param name="dashType">The border dashType.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .ChartArea(chartArea => chartArea.Border(border => border.DashType(ChartDashType.Dot)))
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>        
 public ChartBorderBuilder DashType(ChartDashType dashType)
 {
     border.DashType = dashType;
     return this;
 }
 /// <summary>
 /// Sets the target border
 /// </summary>
 /// <param name="width">The target border width.</param>
 /// <param name="color">The target border color (CSS syntax).</param>
 /// <param name="dashType">The target border dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .Series(series => series
 ///               .Bullet(s => s.Current, s => s.Target)
 ///               .Target(target => target
 ///                    .Border(1, "Red", ChartDashType.Dot)
 ///                );
 ///           )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>        
 public ChartBulletTargetBuilder Border(int width, string color, ChartDashType dashType)
 {
     target.Border = new ChartElementBorder(width, color, dashType);
     return this;
 }
 /// <summary>
 /// Sets the line dashType.
 /// </summary>
 /// <param name="dashType">The line dashType.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .CategoryAxis(axis => axis.MajorGridLines(lines => lines.DashType(ChartDashType.Dot)))
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public virtual ChartLineBuilderBase DashType(ChartDashType dashType)
 {
     line.DashType = dashType;
     return this;
 }
示例#27
0
 /// <summary>
 /// Sets the ticks dashType
 /// </summary>
 /// <param name="dashType">The ticks dashType.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().LinearGauge()
 ///           .Name("linearGauge")
 ///           .Scale(scale => scale.MajorTicks(ticks => ticks.DashType(ChartDashType.Dot)))
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public GaugeScaleTicksBuilder DashType(ChartDashType dashType)
 {
     ticks.DashType = dashType;
     return(this);
 }
示例#28
0
 /// <summary>
 /// Sets the target border
 /// </summary>
 /// <param name="width">The target border width.</param>
 /// <param name="color">The target border color (CSS syntax).</param>
 /// <param name="dashType">The target border dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .Series(series => series
 ///               .Bullet(s => s.Current, s => s.Target)
 ///               .Target(target => target
 ///                    .Border(1, "Red", ChartDashType.Dot)
 ///                );
 ///           )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public ChartBulletTargetBuilder Border(int width, string color, ChartDashType dashType)
 {
     target.Border = new ChartElementBorder(width, color, dashType);
     return(this);
 }
示例#29
0
        /// <summary>
        /// Sets the line chart line dash type.
        /// </summary>
        /// <param name="dashType">The line dash type.</param>
        /// <example>
        /// <code lang="CS">
        /// &lt;% Html.Telerik().Chart()
        ///            .Name("Chart")
        ///            .Series(series => series.Line(s => s.Sales).DashType(ChartDashType.Dot))
        ///            .Render();
        /// %&gt;
        /// </code>
        /// </example>
        public ChartLineSeriesBuilder <T> DashType(ChartDashType dashType)
        {
            Series.DashType = dashType;

            return(this);
        }
示例#30
0
 /// <summary>
 /// Sets the chart area border.
 /// </summary>
 /// <param name="width">The border width.</param>
 /// <param name="color">The border color (CSS syntax).</param>
 /// <param name="dashType">The border dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///            .Name("Chart")
 ///            .ChartArea(chartArea => chartArea.Border(1, "#000", ChartDashType.Dot))
 ///            .Render();
 /// %&gt;
 /// </code>
 /// </example>        
 public ChartAreaBuilder Border(int width, string color, ChartDashType dashType)
 {
     chartArea.Border = new ChartElementBorder(width, color, dashType);
     return this;
 }
示例#31
0
 /// <summary>
 /// Sets the axis title border
 /// </summary>
 /// <param name="width">The axis title border width.</param>
 /// <param name="color">The axis title border color.</param>
 /// <param name="dashType">The axis title dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .CategoryAxis(axis => axis
 ///               .Title(title => title
 ///                   .Border(1, "#000", ChartDashType.Dot)
 ///               );
 ///           )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public ChartAxisTitleBuilder Border(int width, string color, ChartDashType dashType)
 {
     title.Border = new ChartElementBorder(width, color, dashType);
     return(this);
 }
示例#32
0
 /// <summary>
 /// Sets the border dashType.
 /// </summary>
 /// <param name="dashType">The border dashType.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .ChartArea(chartArea => chartArea.Border(border => border.DashType(ChartDashType.Dot)))
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public ChartBorderBuilder DashType(ChartDashType dashType)
 {
     border.DashType = dashType;
     return(this);
 }
 /// <summary>
 /// Sets the markers border
 /// </summary>
 /// <param name="width">The markers border width.</param>
 /// <param name="color">The markers border color (CSS syntax).</param>
 /// <param name="dashType">The markers border dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Telerik().Chart()
 ///           .Name("Chart")
 ///           .Series(series => series
 ///                .Line(s => s.Sales)
 ///                .Markers(markers => markers
 ///                    .Border(1, "Red", ChartDashType.Dot)
 ///                );
 ///           )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>        
 public ChartMarkersBuilder Border(int width, string color, ChartDashType dashType)
 {
     lineMarkers.Border = new ChartElementBorder(width, color, dashType);
     return this;
 }
示例#34
0
 /// <summary>
 /// Sets the markers border
 /// </summary>
 /// <param name="width">The markers border width.</param>
 /// <param name="color">The markers border color (CSS syntax).</param>
 /// <param name="dashType">The markers border dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .Series(series => series
 ///                .Line(s => s.Sales)
 ///                .Markers(markers => markers
 ///                    .Border(1, "Red", ChartDashType.Dot)
 ///                );
 ///           )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public ChartMarkersBuilder Border(int width, string color, ChartDashType dashType)
 {
     lineMarkers.Border = new ChartElementBorder(width, color, dashType);
     return(this);
 }
示例#35
0
 /// <summary>
 /// Sets the chart area border.
 /// </summary>
 /// <param name="width">The border width.</param>
 /// <param name="color">The border color (CSS syntax).</param>
 /// <param name="dashType">The border dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///            .Name("Chart")
 ///            .ChartArea(chartArea => chartArea.Border(1, "#000", ChartDashType.Dot))
 ///            .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public ChartAreaBuilder Border(int width, string color, ChartDashType dashType)
 {
     chartArea.Border = new ChartElementBorder(width, color, dashType);
     return(this);
 }
示例#36
0
 /// <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>
 /// Sets the legend border
 /// </summary>
 /// <param name="width">The legend border width.</param>
 /// <param name="color">The legend border color (CSS syntax).</param>
 /// <param name="dashType">The legend border dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Telerik().Chart()
 ///            .Name("Chart")
 ///            .Legend(legend => legend.Border(1, "#000", ChartDashType.Dot))
 ///            .Render();
 /// %&gt;
 /// </code>
 /// </example>        
 public ChartLegendBuilder Border(int width, string color, ChartDashType dashType)
 {
     legend.Border = new ChartElementBorder(width, color, dashType);
     return this;
 }
 /// <summary>
 /// Sets the line dashType.
 /// </summary>
 /// <param name="dashType">The line dashType.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Telerik().Chart()
 ///           .Name("Chart")
 ///           .Series(series => series
 ///               .Area(s => s.Sales)
 ///               .Line(line => line.DashType(ChartDashType.Dot))
 ///           )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public override ChartLineBuilderBase DashType(ChartDashType dashType)
 {
     base.DashType(dashType);
     return(this);
 }
 /// <summary>
 /// Sets the title border
 /// </summary>
 /// <param name="width">The title border width.</param>
 /// <param name="color">The title border color.</param>
 /// <param name="dashType">The title dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Telerik().Chart()
 ///            .Name("Chart")
 ///            .Title(title => title.Border(1, "#000", ChartDashType.Dot))
 ///            .Render();
 /// %&gt;
 /// </code>
 /// </example>        
 public ChartTitleBuilder Border(int width, string color, ChartDashType dashType)
 {
     title.Border = new ChartElementBorder(width, color, dashType);
     return this;
 }
 /// <summary>
 /// Sets the line dashType.
 /// </summary>
 /// <param name="dashType">The line dashType.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .Series(series => series
 ///               .Area(s => s.Sales)
 ///               .Line(line => line.DashType(ChartDashType.Dot))
 ///           )
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public override ChartLineBuilderBase DashType(ChartDashType dashType)
 {
     base.DashType(dashType);
     return this;
 }
示例#41
0
 /// <summary>
 /// Sets the legend border
 /// </summary>
 /// <param name="width">The legend border width.</param>
 /// <param name="color">The legend border color (CSS syntax).</param>
 /// <param name="dashType">The legend border dash type.</param>
 /// <example>
 /// <code lang="CS">
 /// &lt;% Html.Kendo().Chart()
 ///           .Name("Chart")
 ///           .Legend(legend => legend.Border(1, "#000", ChartDashType.Dot))
 ///           .Render();
 /// %&gt;
 /// </code>
 /// </example>
 public ChartLegendBuilder Border(int width, string color, ChartDashType dashType)
 {
     legend.Border = new ChartElementBorder(width, color, dashType);
     return(this);
 }
        public ChartNumericAxisBuilder MinorGridLines(int width, string color, ChartDashType dashType)
        {
            LegacyBuilder.MinorGridLines(width, color, dashType);

            return(LegacyBuilder);
        }