Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <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);
 }