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