Reports for WinForms | ComponentOne
C1.C1Report.CustomFields.4 Assembly / C1.C1Report.CustomFields Namespace / Chart Class
Properties Methods


In This Topic
    Chart Class Members
    In This Topic

    The following tables list the members exposed by Chart.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the C1Chart class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the actual right-to-left value that is being used. If the field's own RightToLeft is not null, that value is returned. Otherwise the ActualRightToLeft defined on the report is returned. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets how values should be aggregated on the chart.  
    Public PropertyGets or sets how text is aligned within the field. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's vertical position relative to its containing Section. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's background color. (Inherited from C1.C1Report.Field)
    Public PropertyAllows fields to be rendered in barcode format. (Inherited from C1.C1Report.Field)
    Public PropertyTBD: Gets BarcodeOptions object which allows to define additional options for barcode rendering. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's border color. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's border style. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's size and location within the section, in twips. (Inherited from C1.C1Report.Field)
    Public PropertyDraws a box around the plot area.  
    Public PropertySpecifies whether the Text property should be interpreted as a literal value or as a calculated expression. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether the field height should be automatically increased to fit the field's contents. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether the field height should be automatically reduced to fit the field's contents. (Inherited from C1.C1Report.Field)
    Public PropertyGets a reference to the underlying C1Chart control.  
    Public PropertyGets or sets the chart type. Available types are Area, Bar, Pie, Scatter, Line and Column.  
    Public PropertySpecifies whether the field should be displayed as a checkbox. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies the color for the chart bars, lines, symbols, or pie slices.  
    Public PropertyGets or sets a string containing one field with the chart labels.  
    Public PropertyGets or sets a string containing one or more fields with the data to plot on the chart.  
    Public PropertyGets or sets a string containing text labels to use for DataY.

    If null or empty, field names specified by DataY are used.

    If multiple labels are provided, they must be separated with semicolons. For example: chartField.DataYLabels = "Unit Price;Units In Stock"

     
    Public PropertyGets or sets the field's font. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether to insert page breaks before or after the field. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's foreground color. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets a string used to format the field value. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the annotation format for the X axis.  
    Public PropertyGets or sets the annotation format for the Y axis.  
    Public PropertyAdds gridlines to charts. This property does not apply to Pie charts.  
    Public PropertyGets or sets the height of the field in twips. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether duplicate values in consecutive records should be suppressed. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets options for Histogram chart.  
    Public PropertyGets or sets the type of image generated by the chart.  
    Public PropertyReturns the position of the field in the parent report's C1.C1Report.C1Report.Fields collection. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether the field should be kept together on a page. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets method used to auto arrange labels (used only if LabelCompass is Auto).  
    Public PropertyGets or sets flags controlling which locations are allowed when auto arranging labels (applicable only if LabelCompass is Auto).  
    Public PropertyGets or sets the location of labels relative to data points. If set to Auto, several AutoLabel* properties provide additional options.  
    Public PropertyGets or sets a value indicating whether a connecting line is drawn from a label to its associated data point.  
    Public PropertyGets or sets the distance between a label and its associated data point (maximum distance when auto arranging labels).  
    Public PropertyGets or sets the x-coordinate of the field's left edge in twips. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether a line should be drawn across the field (as opposed to a box around the field). (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the line spacing between text lines in the field, in percent. The default is 100 which corresponds to normal line spacing.

    Note that this property is ignored if RTF is true.

    (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the width of the field's border or line. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets an expression that evaluates to a URL to be visited when the field is clicked. (Inherited from C1.C1Report.Field)
    Public PropertyReturns the value of the LinkTarget expression. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's location within the section, in twips. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the spacing between the bottom edge of the field and its content, in twips. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the spacing between the left edge of the field and its content, in twips. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the spacing between the right edge of the field and its content, in twips. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the spacing between the top edge of the field and its content, in twips. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field name. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the color used to draw outlines.  
    Public PropertySpecifies a collection of colors to be used for each series (or pie slices).  
    Public PropertyGets the C1.C1Report.C1Report that contains this field. (Inherited from C1.C1Report.Field)
    Public PropertyGets the Section that contains this field. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets a picture to display on the field. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets how field pictures should be the aligned. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets how images should be the scaled to fit within the field area. (Inherited from C1.C1Report.Field)
    Public PropertyFor Pie charts, gets or sets a value indicating whether series are drawn clockwise or counter-clockwise.  
    Public PropertyFor Pie charts, gets or sets the inner radius of the pie, in percent relative to the outer radius. Values greater than 0 turn a pie chart into a doughnut.  
    Public PropertyFor Pie charts, gets or sets the starting angle of the first slice (in degrees, counter-clockwise from the X axis).  
    Public PropertyGets or sets options for Polar chart.  
    Public PropertyGets or sets options for Radar chart.  
    Public PropertyThis property only applies to Pie charts. It causes the field to add radial labels attached to the pie slices instead of a legend.  
    Public PropertyGets or sets a Sql statement to use and retrieve data for the chart.  
    Public PropertyGets the height of the field in twips after the CanGrow and CanShrink properties have been applied to the field. (Inherited from C1.C1Report.Field)
    Public PropertyGets the y-coordinate of the field's top edge in twips after the CanGrow and CanShrink properties have been applied to the containing Section. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets a value indicating whether right-to-left text rendering rules should be used. If null (which is the default), the property RightToLeft defined on the report is used. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether the field should render string enclosed in curly brackets as RTF. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether to show a running sum for the field. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the section to which the field belongs. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the data series offset for appropriate charts.  
    Public PropertyGets or sets an instance of the C1.C1Report.ShapeBase-derived class specifying properties of the geometric shape drawn by this field (if ShapeType is not None). (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the type of geometric shape drawn by the current field.

    The default is None.

    (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets a value indicating whether the chart should include a legend.  
    Public PropertyGets or sets a value indicating whether chart figures should be outlined.  
    Public PropertyThis property only applies to Pie charts. It causes the field to add percentage labels to the pie slices.  
    Public PropertyGets or sets the field's size, in twips. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets a reference to another report to be rendered within the field (a subreport). (Inherited from C1.C1Report.Field)
    Public PropertyReturns whether a subreport has data and suppresses rendering if it doesn't. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets extra data needed by the calling program. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the field's text. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the angle of text rotation within the field (including barcodes). (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the direction of text within the field. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the y-coordinate of the field's top edge in twips. (Inherited from C1.C1Report.Field)
    Public PropertyApplies 3D effects to the charts.  
    Public PropertyGets or sets the field's calculated value. (Inherited from C1.C1Report.Field)
    Public PropertyFor 3D charts (Use3D is true), gets or sets the apparent chart depth as a percentage of chart width.  
    Public PropertyFor 3D charts (Use3D is true), gets or sets the apparent degree of inclination of the eye-point above the X-axis.  
    Public PropertyFor 3D charts (Use3D is true), gets or sets the apparent degree of rotation of the eye-point to the right of the Y-axis.  
    Public PropertyFor 3D charts (Use3D is true), gets or sets the type of shading applied to 3D areas of the chart.  
    Public PropertySpecifies whether the C1.C1Report.Field will be rendered in the report. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the width of the field in twips. (Inherited from C1.C1Report.Field)
    Public PropertySpecifies whether the field's contents should be allowed to wrap within the field rectangle. (Inherited from C1.C1Report.Field)
    Public PropertyGets or sets the maximum value for the X axis.  
    Public PropertyGets or sets the minimum value for the X axis.  
    Public PropertyGets or sets the maximum value for the Y axis.  
    Public PropertyGets or sets the minimum value for the Y axis.  
    Public PropertyGets or sets the ZOrder for the field. (Inherited from C1.C1Report.Field)
    Top
    Public Methods
     NameDescription
    Public MethodOverridden. Overridden to clone the inner C1Chart control in the field so the clone doesn't reference the original field's chart.  
    Public MethodBrings a field to the front or sends it to the back of the ZOrder. (Inherited from C1.C1Report.Field)
    Public MethodReturns a description of the field (name, location, size). (Inherited from C1.C1Report.Field)
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Selects the text or image that will be rendered by the field.  
    Protected MethodOverridden.   
    Protected MethodOverridden.   
    Top
    See Also