/// <summary> /// Creates a new instance of a razor chart of the given type with the specified /// ID. /// </summary> /// <param name="id">The Unique ID of this chart.</param> /// <param name="chartType">The type of chart to create.</param> public RazorChart(string id, RazorChartType chartType) : base(id) { this.HtmlTag = "div"; this.IncludeIdInHtml = true; this.Type = chartType; this.Library = "morris"; }
internal RazorLineChart(RazorChartType chartType) : base(chartType) { this.HtmlTag = "div"; this.IncludeIdInHtml = true; }
/// <summary> /// Creates an instance of a Series Chart with /// the specified ID. /// </summary> /// <param name="id">The Unique ID of this chart.</param> /// <param name="chartType">The type of chart to create.</param> public RazorSeriesChart(string id, RazorChartType chartType) : base(id, chartType) { this.HtmlTag = "div"; this.IncludeIdInHtml = true; }