• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ChartWithSeries<DS>

Represents the chart with series used by the presentation model.

Inheritance
object
PresentationChart
ChartWithSeries<DS>
AbstractLineChart
Area3DChart
AreaChart
Bar3DChart
BarChart
BubbleChart
DoughnutChart
OfPieChart
Pie3DChart
PieChart
RadarChart
ScatterChart
Surface3DChart
SurfaceChart
Implements
IDrawingObject
Inherited Members
PresentationChart.autoTitleDeleted
PresentationChart.ChartType
PresentationChart.OnChartTypeSet()
PresentationChart.ChartArea
PresentationChart.RoundedCorners
PresentationChart.DataSource
PresentationChart.HiddenEmptyCellSettings
PresentationChart.Legend
PresentationChart.AddLegend()
PresentationChart.Usershapes
PresentationChart.AddTitle()
PresentationChart.Title
PresentationChart.Id
PresentationChart.Name
PresentationChart.PlotArea
PresentationChart.Data
PresentationChart.Axes
PresentationChart.Rotation3D
PresentationChart.HasRotation3D
PresentationChart.Presentation
PresentationChart.BinaryPreservedFragments
PresentationChart.Size
PresentationChart.ParentGroup
PresentationChart.Position
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Presentation.Chart
Assembly: DRIT.Presentation.dll
Syntax
public abstract class ChartWithSeries<DS> : PresentationChart, IDrawingObject where DS : DataSeries
Type Parameters
Name Description
DS

Constructors

ChartWithSeries(Presentation)

Initializes a new instance of the chart with series class.

Declaration
public ChartWithSeries(Presentation presentation)
Parameters
Type Name Description
Presentation presentation

Properties

DataSeries

Gets the collection of data series associated with this object.

Declaration
public SeriesCollection<DS> DataSeries { get; }
Property Value
Type Description
SeriesCollection<DS>

VaryColorsByPoint

Gets or sets the vary colors by point associated with this object.

Declaration
public bool VaryColorsByPoint { get; set; }
Property Value
Type Description
bool

Methods

AddSeries(string, IEnumerable<double>)

Adds a data series with the specified name and values.

Declaration
public DS AddSeries(string seriesName, IEnumerable<double> values)
Parameters
Type Name Description
string seriesName

The display name assigned to the series.

IEnumerable<double> values

The values assigned to the series or property.

Returns
Type Description
DS

The newly added series.

AddSeries(string, params double[])

Adds a data series with the specified name and values.

Declaration
public DS AddSeries(string seriesName, params double[] values)
Parameters
Type Name Description
string seriesName

The display name assigned to the series.

double[] values

The values assigned to the series or property.

Returns
Type Description
DS

The newly added series.

SetCategoryLabels(IEnumerable<string>)

Sets the category labels used by the chart's data series.

Declaration
public void SetCategoryLabels(IEnumerable<string> labels)
Parameters
Type Name Description
IEnumerable<string> labels

The category labels assigned to the chart series.

SetCategoryLabels(params string[])

Sets the category labels used by the chart's data series.

Declaration
public void SetCategoryLabels(params string[] labels)
Parameters
Type Name Description
string[] labels

The category labels assigned to the chart series.

Implements

IDrawingObject
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX