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