student student - 3 months ago 16
ASP.NET (C#) Question

Show some custom text before legends in DevExpress ASP.NET charts

Our client need to show some custom text before legends in DevExpress ASP.NET charts version 15. Is there a property for that?

Show some custom text before legends

I've tried

diagram.AxisX.Title.Text = "axis title\n legend custom text"
and
series.LegendText = "legend custom text";
but both doesn't seems to be fulfilling the requirement.

Answer

Set LegendTitle = "your text here";

Comments