/// <summary> /// Extension method to display a Razor Chart in a view. /// </summary> /// <param name="chart">An instance of the chart to display.</param> /// <returns>An updated instance of the chart.</returns> public static IHtmlContent RenderChart(RazorChart chart) { return(chart); }
/// <summary> /// Extension method to display a Razor Chart in a view. /// </summary> /// <param name="html">An instance of <see cref="IHtmlHelper"/>.</param> /// <param name="chart">An instance of the chart to display.</param> /// <returns>An updated instance of the chart.</returns> public static IHtmlContent RenderChart(this IHtmlHelper html, RazorChart chart) { return(chart); }