Reports for WinForms | ComponentOne
C1.C1Report.CustomFields.4 Assembly / C1.C1Report.CustomFields Namespace / Chart Class / DataY Property

In This Topic
    DataY Property
    In This Topic
    Gets or sets a string containing one or more fields with the data to plot on the chart.
    Syntax
    'Declaration
     
    Public Property DataY As String
    public string DataY {get; set;}
    Remarks
    If multiple fields are provided, they must be separated with semicolons. For example: 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: chartField.DataY = "Sales;Sales * 0.085"
    Example
    chartField.DataY = "UnitPrice;UnitsInStock"chartField.DataY = "Sales;Sales * 0.085"
    See Also