Deprecated Chart Class Methods
This section lists the deprecated Chart class methods in alphabetical order.
Syntax
Refresh()
Description
Note: This method has been deprecated and remains for backward compatibility only. Use instead the SetData method or SetOLData method.
If you make a change to the underlying data of a chart, call the SetData method again to update the chart.
You don’t need to refresh after setting a property or method of the chart itself, such as setting the starting point or changing colors. When a method or property is used, the chart is automatically refreshed.
Parameters
None.
Returns
None.
Example
&MyChart.Refresh();
Syntax
SetDataAnnotations(Record_Name.Field_Name1, ...)
Description
Note: This method has been deprecated and remains for backward compatibility only. Use instead the SetDataLabel and SetDataLabelPosition methods.
Use the SetDataAnnotations method to specify an optional text label that can be associated with each point in the chart.
This method is applicable for scatter and bubble charts only; it is ignored for all other chart types
Parameters
Field or Control |
Definition |
---|---|
Record_Name.Field_Name1, ... |
Specify the name of the record and one or more fields on that record that contain the annotations for the data items for the chart. Note: The number and order of fields specified must correspond to the order specified by the SetDataYAxis method. |
Returns
None.
Syntax
SetDataGlyphScale(Record_Name.Field_Name1, ...)
Description
Note: This method has been deprecated and remains for backward compatibility only. Use instead the SetDataZAxis method.
Use the SetDataGlyphScale method to specify a field that contains numerical data defining the size of each glyph for bubble charts (scatter charts). These values are mapped to a range of size values between a predefined minimum and maximum.
This method affects bubble charts only (%ChartType_2DBubble).
Parameters
Field or Control |
Definition |
---|---|
Record_Name.Field_Name1, ... |
Specify the name of the record and one or more fields on that record that contain the sizes for the data items for the chart. Note: The number and order of fields specified must correspond to the order specified by the SetDataYAxis method. |
Returns
None.
Syntax
SetOLDataAnnotation(Record_Name.Field_Name)
Description
This method has been deprecated and is ignored.
Syntax
SetOLDataGlyphScale(Record_Name.Field_Name)
Description
This method has been deprecated and is ignored.