GraphSeriesBase
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
public abstract class GraphSeriesBase : Component
Inheritance: objectMarshalByRefObjectComponentGraphSeriesBase
Derived Classes:
Constructors
TODO: Add documentation.
protected GraphSeriesBase()
Properties
Gets or sets the color palette used for graph series.
[TypeConverter(typeof(ExpandableObjectConverter))]
public IColorPalette ColorPalette { get; set; }
A IColorPalette implementation representing color palette used for graph series.
Gets the ConditionalFormatting applied on the data points.
public ConditionalFormatting DataPointConditionalFormatting { get; }
DataPointLabel
string
Data point label.
[AIAssistantDescription("The expression used as label each data point in the series. Example: =Sum(Fields.Amount) or =Fields.Category . To instead display the amount as percentage of the group total, use complex expression like = Sum(Fields.Amount) / CDbl(Exec('graph1', Sum(Fields.Amount))) where graph1 is the name of the graph. ")]
public string DataPointLabel { get; set; }
A string started with "=" is interpreted as an expression to calculate the real data, otherwise - literal string. Supports embedded expressions also.
The angle in degrees at which the data point labels are rotated.
public int DataPointLabelAngle { get; set; }
Gets the ConditionalFormatting to applied on the data points' labels.
public ConditionalFormatting DataPointLabelConditionalFormatting { get; }
DataPointLabelFormat
string
Data point label format.
[AIAssistantDescription("The format string applied to the DataPointLabel. Example: {0:C} to format the label as currency. {0:P} or {0:0.0%} to format the label as percentage.")]
public string DataPointLabelFormat { get; set; }
Gets the style for the labels of the data points.
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style DataPointLabelStyle { get; }
Gets the default style of a data point.
[TypeConverter(typeof(ExpandableObjectConverter))]
[AIAssistantDescription("The style applied to every data point in this series. Key properties: BackgroundColor (bar/area fill color, overrides the ColorPalette. Prefer altering the color palette for consistent coloring), Color (line or text color), LineColor (border color), LineWidth (border width), Visible. ")]
public Style DataPointStyle { get; }
Legend
string
Gets or sets an expression or a text which is displayed in the legend.
[Browsable(false)]
[Obsolete("Telerik.Reporting.GraphSeries.Legend property is now obsolete. Please use Telerik.Reporting.GraphSeries.LegendItem.Value property.")]
public string Legend { get; set; }
A string started with "=" is interpreted as an expression to calculate the real data, otherwise - literal string. Supports embedded expressions also.
LegendFormat
string
Gets or sets the number format for the legend value.
[Browsable(false)]
[Obsolete("Telerik.Reporting.GraphSeries.LegendFormat property is now obsolete. Please use Telerik.Reporting.GraphSeries.LegendItem.Format property.")]
public string LegendFormat { get; set; }
Gets or sets the LegendItem for the current GraphSeries
[AIAssistantDescription("Use LegendItem to configure the legend entries for this series.The LegendItem.Value is used as the text in the legend for this series.Usually LegendItem is configured when the respective series group has a dynamic grouping expression, i.e., it would spawn multiple instances, hence color mapping is needed.NOTE: Omitting the LegendItem would not remove the legend entry: If the whole Legend is visible, use the LegendItem.Style.Visible property to control the visibility of the legend entries for this series.")]
public LegendItem LegendItem { get; }
Name
string
Gets or sets the name of the graph series.
public string Name { get; set; }
The name of the graph series.
Methods
ToString()
string
TODO: Add documentation.
public override string ToString()
string
Overrides: