/// <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 }
/// <summary> /// /// </summary> public Builder(Chart.Config config) : base(new Chart(config)) { }
/// <summary> /// /// </summary> public Chart.Builder Chart(Chart.Config config) { return(new Chart.Builder(new Chart(config))); }