예제 #1
0
        /// <summary>
        /// Sets the bar effects overlay
        /// </summary>
        /// <param name="overlay">The bar effects overlay. The default is ChartBarSeriesOverlay.Glass</param>
        /// <example>
        /// <code lang="CS">
        /// &lt;% Html.Kendo().Chart()
        ///            .Name("Chart")
        ///            .Series(series => series.Bar(s => s.Sales).Overlay(ChartBarSeriesOverlay.None))
        ///            .Render();
        /// %&gt;
        /// </code>
        /// </example>
        public ChartBarSeriesBuilder <T> Overlay(ChartBarSeriesOverlay overlay)
        {
            Series.Overlay = overlay;

            return(this);
        }
예제 #2
0
        /// <summary>
        /// Sets the bar effects overlay
        /// </summary>
        /// <param name="overlay">The bar effects overlay. The default is ChartBarSeriesOverlay.Glass</param>
        /// <example>
        /// <code lang="CS">
        /// &lt;% Html.Kendo().Chart()
        ///            .Name("Chart")
        ///            .Series(series => series.Bar(s => s.Sales).Overlay(ChartBarSeriesOverlay.None))
        ///            .Render();
        /// %&gt;
        /// </code>
        /// </example>
        public TSeriesBuilder Overlay(ChartBarSeriesOverlay overlay)
        {
            Series.Overlay = overlay;

            return((TSeriesBuilder)this);
        }