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