Table of Contents

Class ChartSettings

Namespace
NDepend.Trend
Assembly
NDepend.API.dll

Represent a trend chart settings, to be displayed in the Dashboard panel and eventually, in the report as well.

public sealed class ChartSettings
Inheritance
ChartSettings
Inherited Members
Extension Methods

Constructor (1)

ChartSettings(string, bool, IReadOnlyList<SerieSettings>)

Initializes a new instance of the ChartSettings class.

public ChartSettings(string name, bool showInReport, IReadOnlyList<SerieSettings> seriesSettings)

Parameters

name string

The name of the chart.

showInReport bool

A boolean that indicates if this chart is shown in report.

seriesSettings IReadOnlyList<SerieSettings>

The series shown on this chart.

Remarks

If name has more than NDepend.Trend.ChartSettings.CHART_NAME_MAX_CHAR characters, it is truncated.

Properties (3)

Name

Gets or sets the name of the chart.

public string Name { get; set; }

Property Value

string

SeriesSettings

Gets or sets the series settings shown on this chart.

public IReadOnlyList<SerieSettings> SeriesSettings { get; set; }

Property Value

IReadOnlyList<SerieSettings>

Remarks

The order in the list is important since charts will be shown in this order.

ShowInReport

Gets or sets a boolean that indicates if the chart is shown in report.

public bool ShowInReport { get; set; }

Property Value

bool