C# 클래스 EnterpriseWebLibrary.EnterpriseWebFramework.Chart

A control capable of displaying chart data. Currently implemented with Chart.js.
상속: System.Web.UI.WebControls.WebControl, ControlTreeDataLoader, ControlWithJsInitLogic
파일 보기 프로젝트 열기: enduracode/enterprise-web-library

공개 메소드들

메소드 설명
Chart ( ChartSetup setup, EnterpriseWebLibrary.EnterpriseWebFramework.DataSeries series, Color color = null ) : System

Creates a chart displaying a supported ChartType with the given data. Includes a chart and a table, and allows exporting the data to CSV.

Chart ( ChartSetup setup, IEnumerable seriesCollection, IEnumerable colors = null ) : System

Creates a chart displaying a supported ChartType with the given data. Includes a chart and a table, and allows exporting the data to CSV. Assuming seriesCollection has multiple elements, draws multiple sets of Y values on the same chart.

비공개 메소드들

메소드 설명
ControlTreeDataLoader ( ) : void
ControlWithJsInitLogic ( ) : string
getDefaultColors ( ) : IEnumerable
getExportButton ( IEnumerable headers, List tableData ) : EnterpriseWebLibrary.EnterpriseWebFramework.Controls.Block

메소드 상세

Chart() 공개 메소드

Creates a chart displaying a supported ChartType with the given data. Includes a chart and a table, and allows exporting the data to CSV.
public Chart ( ChartSetup setup, EnterpriseWebLibrary.EnterpriseWebFramework.DataSeries series, Color color = null ) : System
setup ChartSetup The setup object for the chart.
series EnterpriseWebLibrary.EnterpriseWebFramework.DataSeries The data series.
color Color The color to use for the data series.
리턴 System

Chart() 공개 메소드

Creates a chart displaying a supported ChartType with the given data. Includes a chart and a table, and allows exporting the data to CSV. Assuming seriesCollection has multiple elements, draws multiple sets of Y values on the same chart.
public Chart ( ChartSetup setup, IEnumerable seriesCollection, IEnumerable colors = null ) : System
setup ChartSetup The setup object for the chart.
seriesCollection IEnumerable The data series collection.
colors IEnumerable The colors to use for the data series collection. Pass null for default colors. If you specify your own colors, the number of /// colors does not need to match the number of series. If you pass fewer colors than series, the chart will use random colors for the remaining series. ///
리턴 System