Gets or sets a string containing one or more fields with the data to plot on the chart.

Namespace:  C1.C1Report.CustomFields
Assembly:  C1.C1Report.CustomFields.2 (in C1.C1Report.CustomFields.2.dll)

Syntax

C#
[CategoryAttribute("Chart")]
[DefaultValueAttribute("")]
[EditorAttribute(typeof(TextFieldEditor), typeof(UITypeEditor))]
public string DataY { get; set; }
Visual Basic
<CategoryAttribute("Chart")> _
<DefaultValueAttribute("")> _
<EditorAttribute(GetType(TextFieldEditor), GetType(UITypeEditor))> _
Public Property DataY As String
	Get
	Set

Remarks

If multiple fields are provided, they must be separated with semicolons. For example:

Examples

chartField.DataY = "UnitPrice;UnitsInStock"
You can also use regular VBScript expressions instead of simple field names. For example, to plot sales and sales taxes as two separate series, you could use:

Examples

chartField.DataY = "Sales;Sales * 0.085"

See Also