/// <summary>
        ///
        /// </summary>
        public PieSeries.Builder PieSeries(PieSeries.Config config)
        {
#if MVC
            return(new PieSeries.Builder(new PieSeries(config)
            {
                ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null
            }));
#else
            return(new PieSeries.Builder(new PieSeries(config)));
#endif
        }
示例#2
0
 /// <summary>
 ///
 /// </summary>
 public Builder(PieSeries.Config config) : base(new PieSeries(config))
 {
 }
示例#3
0
 /// <summary>
 ///
 /// </summary>
 public PieSeries.Builder PieSeries(PieSeries.Config config)
 {
     return(new PieSeries.Builder(new PieSeries(config)));
 }