Graph
AI JSON Schema annotations for Graph. Properties in this partial class exist solely to guide JSON Schema generation for the AI assistant PoC. They are NOT usable at runtime and throw if called.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
[ToolboxBitmap(typeof(Graph), "Resources.Graph.bmp")]
public class Graph : DataItem, IToggleVisibilityTarget, IActionTarget, IDataItem, IDataFlow, IDataSourceContainer
Inheritance: objectReportObjectReportItemBaseReportItemDataItemGraph...
Implements:
Inherited Members
Constructors
TODO: Add documentation.
public Graph()
Properties
JSON Schema annotation only — do not call at runtime.
Represents the flat Axes collection that appears in the serialized JSON format.
In C#, axes are held by CoordinateSystems (via XAxis/YAxis on each
CartesianCoordinateSystem). During serialization, the
GraphSurrogate flattens them into a named collection.
[Browsable(false)]
[AIAssistantInclude("")]
[AIAssistantRequired]
[AIAssistantDescription("Collection of named GraphAxis objects. Every axis referenced by XAxis or YAxis in a CoordinateSystem must be declared here first with a unique Name. Each axis requires a Scale sub-object (e.g. NumericalScale or CategoryScale).")]
public GraphAxisCollection Axes { get; }
Gets the hierarchy of GraphGroups that define the categories for the current Graph.
[AIAssistantRequired]
public GraphGroupCollection CategoryGroups { get; }
Gets or sets the color palette used for graph series.
[TypeConverter(typeof(ExpandableObjectConverter))]
[AIAssistantRequired]
[AIAssistantDescription("Determines the color set assigned to each runtime instance of the graph series effectively coloring all its data points.Example1: Series with static group -> All data points in the series will have the same color. Example2: Series with dynamic group producing 3 runtime series -> 3 colors will be retrieved from the color palette, coloring the respective data points.")]
public IColorPalette ColorPalette { get; set; }
A IColorPalette implementation representing color palette used for graph series.
Gets the collection of GraphCoordinateSystems.
[AIAssistantRequired]
public GraphCoordinateSystemCollection CoordinateSystems { get; }
Culture
CultureInfo
Gets or sets the culture information associated with the Graph item.
public CultureInfo Culture { get; set; }
A CultureInfo representing the culture supported by the Graph.
TODO: Add documentation.
protected override SizeU DefaultSize { get; }
Overrides:
Gets the Legend for the current Graph
[TypeConverter(typeof(ExpandableObjectConverter))]
[AIAssistantRequired]
[AIAssistantDescription("A legend area in the graph, mapping for the user what each series instance represents. Configure the Legend to change the Legend position and overall representation. The on/off of the Legend is controlled by its visbility (.Style.Visible). The label for each data point represented in the legend is defined by the .LegendItem property on the series object definition.")]
public GraphLegend Legend { get; }
Gets the style of the plot area.
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style PlotAreaStyle { get; }
The plot area of a Graph is the area where all series including the data points and labels are rendered. The plot area also contains all grid lines if defined.
Gets the collection of GraphSeries defined for the current Graph.
[AIAssistantRequired]
[AIAssistantDescription("The collection of graph series. Each series represents a data set visualized in the graphand together with the coordinate system determine the type of the graph. The series type determines the data points type (line, area, bar, etc.). The series object defines the adjacent label for each data point (DataPointLabel).")]
public GraphSeriesCollection Series { get; }
Gets the hierarchy of GraphGroups that define the series for the current Graph.
public GraphGroupCollection SeriesGroups { get; }
Gets the collection of GraphTitle defined for the current Graph.
[AIAssistantDescription("The collection of graph titles. Graph supports multiple titles, like main title and subtitles, but usually one is sufficient.")]
public GraphTitleCollection Titles { get; }