officefileapi-devexpress-dot-spreadsheet-dot-charts-dot-charttext-dot-setvalue-x28-system-dot-string-x29.md
Specifies the text used in a chart element.
Namespace : DevExpress.Spreadsheet.Charts
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
void SetValue(
string value
)
Sub SetValue(
value As String
)
| Name | Type | Description |
|---|---|---|
| value | String |
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
chart.Title.Visible = true;
chart.Title.SetValue("Market share Q3'13");
winforms-spreadsheet-chart-api/CS/SpreadsheetChartAPISamples/CodeExamples/TitlesActions.cs#L43
chart.Title.Visible = true;
chart.Title.SetValue("Market share Q3'13");
chart.Title.Visible = true;
chart.Title.SetValue("Market share Q3'13");
wpf-spreadsheet-chart-api/VB/SpreadsheetWPFChartAPISamples/CodeExamples/TitlesActions.vb#L47
chart.Title.Visible = True
chart.Title.SetValue("Market share Q3'13")
winforms-spreadsheet-chart-api/VB/SpreadsheetChartAPISamples/CodeExamples/TitlesActions.vb#L46
chart.Title.Visible = True
chart.Title.SetValue("Market share Q3'13")
chart.Title.Visible = True
chart.Title.SetValue("Market share Q3'13")
See Also