次の方法で共有


Chart.AddSeries メソッド

定義

グラフのデータ ポイントおよび系列の属性を提供します。

public System.Web.Helpers.Chart AddSeries(string name = default, string chartType = "Column", string chartArea = default, string axisLabel = default, string legend = default, int markerStep = 1, System.Collections.IEnumerable xValue = default, string xField = default, System.Collections.IEnumerable yValues = default, string yFields = default);
member this.AddSeries : string * string * string * string * string * int * System.Collections.IEnumerable * string * System.Collections.IEnumerable * string -> System.Web.Helpers.Chart
Public Function AddSeries (Optional name As String = null, Optional chartType As String = "Column", Optional chartArea As String = null, Optional axisLabel As String = null, Optional legend As String = null, Optional markerStep As Integer = 1, Optional xValue As IEnumerable = null, Optional xField As String = null, Optional yValues As IEnumerable = null, Optional yFields As String = null) As Chart

パラメーター

name
String

系列の一意の名前。

chartType
String

系列のグラフの種類。

chartArea
String

データ系列をプロットするために使用されるグラフ エリアの名前。

axisLabel
String

系列の軸ラベルのテキスト。

legend
String

凡例に関連付けられた系列の名前。

markerStep
Int32

データ ポイント マーカーの間隔。

xValue
IEnumerable

x 軸に沿ってプロットする値。

xField
String

x 値のフィールドの名前。

yValues
IEnumerable

y 軸に沿ってプロットする値。

yFields
String

y 値を表すフィールドの名前のコンマ区切りリスト。

戻り値

グラフ。

適用対象