Back to Devexpress

ChartText.SetValue(String) Method

officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-charttext-dot-setvalue-x28-system-dot-string-x29.md

latest3.8 KB
Original Source

ChartText.SetValue(String) Method

Specifies the text used in a chart element.

Namespace : DevExpress.Spreadsheet.Charts

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
void SetValue(
    string value
)
vb
Sub SetValue(
    value As String
)

Parameters

NameTypeDescription
valueString

A string that is the text for display.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the SetValue(String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-spreadsheet-chart-api/CS/SpreadsheetWPFChartAPISamples/CodeExamples/TitlesActions.cs#L43

csharp
chart.Title.Visible = true;
chart.Title.SetValue("Market share Q3'13");

winforms-spreadsheet-chart-api/CS/SpreadsheetChartAPISamples/CodeExamples/TitlesActions.cs#L43

csharp
chart.Title.Visible = true;
chart.Title.SetValue("Market share Q3'13");

spreadsheet-document-api-chart-examples/CS/SpreadsheetDocServerChartAPISamples/CodeExamples/TitlesActions.cs#L51

csharp
chart.Title.Visible = true;
chart.Title.SetValue("Market share Q3'13");

wpf-spreadsheet-chart-api/VB/SpreadsheetWPFChartAPISamples/CodeExamples/TitlesActions.vb#L47

vb
chart.Title.Visible = True
chart.Title.SetValue("Market share Q3'13")

winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/CodeExamples/TitlesActions.vb#L46

vb
chart.Title.Visible = True
chart.Title.SetValue("Market share Q3'13")

spreadsheet-document-api-chart-examples/VB/SpreadsheetDocServerChartAPISamples/CodeExamples/TitlesActions.vb#L48

vb
chart.Title.Visible = True
chart.Title.SetValue("Market share Q3'13")

See Also

ChartText Interface

ChartText Members

DevExpress.Spreadsheet.Charts Namespace